Get the controller ready for changing model - you can override which model we try...
[catagits/Gitalist.git] / lib / Gitalist / View / Default.pm
index 8473abc..6d8c404 100644 (file)
@@ -5,6 +5,8 @@ use namespace::autoclean;
 
 extends 'Catalyst::View::TT';
 
+use Template::Plugin::Cycle;
+
 =head1 NAME
 
 Gitalist::View::Default - Catalyst View
@@ -15,7 +17,7 @@ Catalyst View.
 
 =head1 AUTHOR
 
-Dan Brook,,,
+Dan Brook
 
 =head1 LICENSE
 
@@ -27,8 +29,8 @@ it under the same terms as Perl itself.
 __PACKAGE__->config(
        TEMPLATE_EXTENSION => '.tt2',
        # Set the location for TT files
-       INCLUDE_PATH => [ Gitalist->path_to( 'templates' ) ],
-#      WRAPPER => 'default.tt2',
+       INCLUDE_PATH       => [ Gitalist->path_to( 'templates' ) ],
+       WRAPPER            => 'default.tt2',
 );
 
 __PACKAGE__->meta->make_immutable(inline_constructor => 0);