From: Sebastian Riedel Date: Tue, 15 Nov 2005 15:56:05 +0000 (+0000) Subject: Fixed soem typos in tt view X-Git-Tag: v0.30~54 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=be7c1afacb9b1e3768ee52dfafa4ab2ca465fb5e;p=catagits%2FCatalyst-View-TT.git Fixed soem typos in tt view --- diff --git a/Changes b/Changes index 94f5adf..081de26 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension Catalyst::View::TT. +0.17 - Mon Nov 14 20:43:00 2005 + - Fixed some typos + 0.16 - Mon Nov 14 20:43:00 2005 - Updated TTSite for Catalyst 5.5 diff --git a/lib/Catalyst/View/TT.pm b/lib/Catalyst/View/TT.pm index 4547d19..547211f 100644 --- a/lib/Catalyst/View/TT.pm +++ b/lib/Catalyst/View/TT.pm @@ -6,7 +6,7 @@ use Template; use Template::Timer; use NEXT; -our $VERSION = '0.16'; +our $VERSION = '0.17'; __PACKAGE__->mk_accessors('template'); @@ -32,7 +32,7 @@ Catalyst::View::TT - Template View Class ], PRE_PROCESS => 'config/main', WRAPPER => 'site/wrapper', - TEMPLATE_SUFFIX => '.tt', + TEMPLATE_EXTENSION => '.tt', # two optional config items CATALYST_VAR => 'Catalyst', @@ -264,7 +264,8 @@ sub new { $c->error($error); return undef; } - } + }, + %{$config}, ); } @@ -370,7 +371,7 @@ output from your templates, such as: -=item C +=item C a sufix to add when looking for templates bases on the C method in L.