Bump deps
[catagits/Gitalist.git] / lib / Gitalist / View / Default.pm
index a6066c6..4343f3f 100644 (file)
@@ -1,8 +1,10 @@
 package Gitalist::View::Default;
+use Moose;
+use namespace::autoclean;
 
-use strict;
-use warnings;
-use parent 'Catalyst::View::TT';
+extends 'Catalyst::View::TT';
+
+use Template::Plugin::Cycle;
 
 =head1 NAME
 
@@ -14,7 +16,7 @@ Catalyst View.
 
 =head1 AUTHOR
 
-Dan Brook,,,
+Dan Brook
 
 =head1 LICENSE
 
@@ -24,10 +26,8 @@ it under the same terms as Perl itself.
 =cut
 
 __PACKAGE__->config(
-       TEMPLATE_EXTENSION => '.tt2',
-       # Set the location for TT files
-       INCLUDE_PATH => [ Gitalist->path_to( 'templates' ) ],
-#      WRAPPER => 'default.tt2',
+  TEMPLATE_EXTENSION => '.tt2',
+  WRAPPER            => 'default.tt2',
 );
 
-1;
+__PACKAGE__->meta->make_immutable(inline_constructor => 0);