From: Marcus Ramberg Date: Tue, 1 Nov 2005 17:02:30 +0000 (+0000) Subject: renamed TEMPLATE_PREFIX TEMPLATE_SUFFIX X-Git-Tag: v0.30~58 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=747f2b6df96ad97c8d27fe3d96d262bad97783b9;p=catagits%2FCatalyst-View-TT.git renamed TEMPLATE_PREFIX TEMPLATE_SUFFIX --- diff --git a/Changes b/Changes index 3494bf7..a4cb676 100644 --- a/Changes +++ b/Changes @@ -2,7 +2,7 @@ Revision history for Perl extension Catalyst::View::TT. 0.15 - TBR - Fix docs - - Added TEMPLATE_EXTENSION config variable + - Added TEMPLATE_SUFFIX config variable 0.14 - Fri Oct 21 10:20:00 2005 - Turn timer off by default, even for debug. diff --git a/lib/Catalyst/View/TT.pm b/lib/Catalyst/View/TT.pm index 87f7cc0..fac246c 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.14'; +our $VERSION = '0.15'; __PACKAGE__->mk_accessors('template'); @@ -34,6 +34,7 @@ Catalyst::View::TT - Template View Class ], PRE_PROCESS => 'config/main', WRAPPER => 'site/wrapper', + TEMPLATE_SUFFIX => '.tt', # two optional config items CATALYST_VAR => 'Catalyst', @@ -365,9 +366,9 @@ output from your templates, such as: -=item C +=item C -an extension to add when looking for templates bases on the C method in L. +a sufix to add when looking for templates bases on the C method in L. For example: