Template cleanups. Move _template to inc/template, remove currently spurious includes...
[catagits/Gitalist.git] / lib / Gitalist / View / Default.pm
1 package Gitalist::View::Default;
2 use Moose;
3 use namespace::autoclean;
4
5 extends 'Catalyst::View::TT';
6 with 'Catalyst::View::Component::SubInclude';
7
8 use Template::Plugin::Cycle;
9
10 __PACKAGE__->config(
11   TEMPLATE_EXTENSION => '.tt2',
12   WRAPPER            => 'wrapper.tt2',
13   subinclude_plugin => 'SubRequest',
14 );
15
16 __PACKAGE__->meta->make_immutable(inline_constructor => 0);
17
18 __END__
19
20 =head1 NAME
21
22 Gitalist::View::Default - HTML View
23
24 =head1 DESCRIPTION
25
26 HTML View.
27
28 =head1 AUTHORS
29
30 See L<Gitalist> for authors.
31
32 =head1 LICENSE
33
34 See L<Gitalist> for the license.
35
36 =cut