Move all the templates back into the 'root' directory, otherwise make install will...
[catagits/Gitalist.git] / lib / Gitalist / View / Default.pm
index 7a9b11e..278f419 100644 (file)
@@ -1,10 +1,10 @@
 package Gitalist::View::Default;
 use Moose;
-use Gitalist; # ->path_to
 use namespace::autoclean;
 
 extends 'Catalyst::View::TT';
-with 'Catalyst::View::ContentNegotiation::XHTML';
+
+use Template::Plugin::Cycle;
 
 =head1 NAME
 
@@ -16,7 +16,7 @@ Catalyst View.
 
 =head1 AUTHOR
 
-Dan Brook,,,
+Dan Brook
 
 =head1 LICENSE
 
@@ -27,9 +27,7 @@ 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',
+       WRAPPER            => 'default.tt2',
 );
 
 __PACKAGE__->meta->make_immutable(inline_constructor => 0);