diff options
author | dakkar <dakkar@luxion> | 2009-01-07 14:11:50 +0000 |
---|---|---|
committer | dakkar <dakkar@luxion> | 2009-01-07 14:11:50 +0000 |
commit | 6ef2ff64a7489335489be54495d47d0ca232b937 (patch) | |
tree | 0b02c116dace706065712e8214e8b6256e5de1a7 /lib/WebCoso/TT.pm | |
parent | messi i tag / category nel feed (diff) | |
download | WebCoso-6ef2ff64a7489335489be54495d47d0ca232b937.tar.gz WebCoso-6ef2ff64a7489335489be54495d47d0ca232b937.tar.bz2 WebCoso-6ef2ff64a7489335489be54495d47d0ca232b937.zip |
pulizia dei path, ma non va proprio bene
git-svn-id: svn://luxion/repos/WebCoso/trunk@404 fcb26f47-9200-0410-b104-b98ab5b095f3
Diffstat (limited to 'lib/WebCoso/TT.pm')
-rw-r--r-- | lib/WebCoso/TT.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/WebCoso/TT.pm b/lib/WebCoso/TT.pm index 15e2072..50b28a3 100644 --- a/lib/WebCoso/TT.pm +++ b/lib/WebCoso/TT.pm @@ -39,6 +39,7 @@ sub new { dstUriFor => \&WebCoso::Common::dstUriFor, isLang => \&WebCoso::Common::isLang, atomIdFor => sub{WebCoso::Common::getAtomIdFor($self->{fc},@_)}, + typedAs => \&WebCoso::Common::typedAs, }; $self->{template_provider}=Template::Provider->new({ @@ -64,6 +65,7 @@ sub new { my $tmpl=$self->{fc}->get($deps->[-1]); my $vars={ path=> $matches->[0], language => $matches->[1], + filename => $deps->[-1], %{$self->{stash}}, }; if (@$deps>1) { |