[Catalyst-commits] r6715 -
trunk/Catalyst-View-HTML-Template/lib/Catalyst/View/HTML
matthewt at dev.catalyst.perl.org
matthewt at dev.catalyst.perl.org
Wed Aug 22 18:05:53 GMT 2007
Author: matthewt
Date: 2007-08-22 18:05:51 +0100 (Wed, 22 Aug 2007)
New Revision: 6715
Modified:
trunk/Catalyst-View-HTML-Template/lib/Catalyst/View/HTML/Template.pm
Log:
probably fixed it
Modified: trunk/Catalyst-View-HTML-Template/lib/Catalyst/View/HTML/Template.pm
===================================================================
--- trunk/Catalyst-View-HTML-Template/lib/Catalyst/View/HTML/Template.pm 2007-08-22 16:54:32 UTC (rev 6714)
+++ trunk/Catalyst-View-HTML-Template/lib/Catalyst/View/HTML/Template.pm 2007-08-22 17:05:51 UTC (rev 6715)
@@ -87,12 +87,12 @@
my %options = (
cache => 1,
filename => $filename,
- path => [ $c->config->{root}, $c->config->{root} . "/base" ]
+ path => [ $c->path_to('root'), $c->path_to('root','base') ],
);
$c->log->debug(qq/Rendering template "$filename"/) if $c->debug;
- my $template = HTML::Template->new( %options, %{ $self->config } );
+ my $template = HTML::Template->new( %options, %{ $self } );
my $template_params = $args && ref($args) eq 'HASH' ? $args : $c->stash;
More information about the Catalyst-commits
mailing list