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
=head1 AUTHOR
-Dan Brook,,,
+Dan Brook
=head1 LICENSE
=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);