Started on making everything a bit less bleh.
[catagits/Gitalist.git] / lib / Gitalist / View / Default.pm
CommitLineData
d3feefcf 1package Gitalist::View::Default;
42fe5d11 2use Moose;
3use Gitalist; # ->path_to
4use namespace::autoclean;
d3feefcf 5
42fe5d11 6extends 'Catalyst::View::TT';
d3feefcf 7
04d1d917 8use Template::Plugin::Cycle;
9
d3feefcf 10=head1 NAME
11
12Gitalist::View::Default - Catalyst View
13
14=head1 DESCRIPTION
15
16Catalyst View.
17
18=head1 AUTHOR
19
1feb3d6b 20Dan Brook
d3feefcf 21
22=head1 LICENSE
23
24This library is free software. You can redistribute it and/or modify
25it under the same terms as Perl itself.
26
27=cut
28
29__PACKAGE__->config(
30 TEMPLATE_EXTENSION => '.tt2',
31 # Set the location for TT files
04d1d917 32 INCLUDE_PATH => [ Gitalist->path_to( 'templates' ) ],
33 WRAPPER => 'default.tt2',
d3feefcf 34);
35
42fe5d11 36__PACKAGE__->meta->make_immutable(inline_constructor => 0);