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