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 => 'Visit',
21 # define list method to flatten arrayrefs
22 $Template::Stash::LIST_OPS->{ to_path } = sub {
23 my $path = join('%2F', shift->flatten, @_);
28 __PACKAGE__->meta->make_immutable(inline_constructor => 0);
34 Gitalist::View::Default - HTML View
42 See L<Gitalist> for authors.
46 See L<Gitalist> for the license.