Get the controller ready for changing model - you can override which model we try...
[catagits/Gitalist.git] / lib / Gitalist / View / Default.pm
index e418acf..6d8c404 100644 (file)
@@ -4,7 +4,6 @@ use Gitalist; # ->path_to
 use namespace::autoclean;
 
 extends 'Catalyst::View::TT';
-with 'Catalyst::View::ContentNegotiation::XHTML';
 
 use Template::Plugin::Cycle;
 
@@ -34,10 +33,4 @@ __PACKAGE__->config(
        WRAPPER            => 'default.tt2',
 );
 
-# before end => sub {
-#     my ( $self, $c ) = @_;
-#     return unless $c->stash->{syntax_highlight};
-#     $c->forward( 'View::SyntaxHighlight', $c->stash->{syntax_highlight} );
-# };
-
 __PACKAGE__->meta->make_immutable(inline_constructor => 0);