1 package Gitalist::View::Default;
4 use namespace::autoclean;
6 extends 'Catalyst::View::TT';
7 with 'Catalyst::View::Component::SubInclude';
9 use Template::Plugin::Cycle;
12 TEMPLATE_EXTENSION => '.tt2',
13 WRAPPER => 'wrapper.tt2',
14 subinclude_plugin => 'SubRequest',
20 # define list method to flatten arrayrefs
21 $Template::Stash::LIST_OPS->{ to_path } = sub {
22 my $path = join('%2F', shift->flatten, @_);
27 __PACKAGE__->meta->make_immutable(inline_constructor => 0);
33 Gitalist::View::Default - HTML View
41 See L<Gitalist> for authors.
45 See L<Gitalist> for the license.