Start using the subinclude plugin and splitting things up.
[catagits/Gitalist.git] / lib / Gitalist / View / Default.pm
index 757f982..d89b1bb 100644 (file)
@@ -3,12 +3,14 @@ use Moose;
 use namespace::autoclean;
 
 extends 'Catalyst::View::TT';
+with 'Catalyst::View::Component::SubInclude';
 
 use Template::Plugin::Cycle;
 
 __PACKAGE__->config(
   TEMPLATE_EXTENSION => '.tt2',
   WRAPPER            => 'default.tt2',
+  subinclude_plugin => 'SubRequest',
 );
 
 __PACKAGE__->meta->make_immutable(inline_constructor => 0);