Document setting, make skeleton generate it by default
[catagits/Catalyst-View-TT.git] / lib / Catalyst / Helper / View / TT.pm
index b424235..9dc6155 100644 (file)
@@ -51,9 +51,14 @@ __compclass__
 package [% class %];
 
 use strict;
+use warnings;
+
 use base 'Catalyst::View::TT';
 
-__PACKAGE__->config(TEMPLATE_EXTENSION => '.tt');
+__PACKAGE__->config(
+    TEMPLATE_EXTENSION => '.tt',
+    render_die => 1,
+);
 
 =head1 NAME
 
@@ -61,7 +66,7 @@ __PACKAGE__->config(TEMPLATE_EXTENSION => '.tt');
 
 =head1 DESCRIPTION
 
-TT View for [% app %]. 
+TT View for [% app %].
 
 =head1 SEE ALSO
 
@@ -73,7 +78,7 @@ L<[% app %]>
 
 =head1 LICENSE
 
-This library is free software, you can redistribute it and/or modify
+This library is free software. You can redistribute it and/or modify
 it under the same terms as Perl itself.
 
 =cut