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',
19 # define list method to flatten arrayrefs
20 $Template::Stash::LIST_OPS->{ to_path } = sub {
21 return join('%2F', shift->flatten, @_);
24 __PACKAGE__->meta->make_immutable(inline_constructor => 0);
30 Gitalist::View::Default - HTML View
38 See L<Gitalist> for authors.
42 See L<Gitalist> for the license.