renamed TEMPLATE_PREFIX TEMPLATE_SUFFIX
[catagits/Catalyst-View-TT.git] / lib / Catalyst / View / TT.pm
index 87f7cc0..fac246c 100644 (file)
@@ -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:
     <!-- TIMER END: process mainmenu/footer.tt (0.003016 seconds) -->
 
 
-=item C<TEMPLATE_EXTENSION>
+=item C<TEMPLATE_SUFFIX>
 
-an extension to add when looking for templates bases on the C<match> method in L<Catalyst::Request>.
+a sufix to add when looking for templates bases on the C<match> method in L<Catalyst::Request>.
 
 For example: