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'; |
749c6583 |
7 | with 'Catalyst::View::ContentNegotiation::XHTML'; |
d3feefcf |
8 | |
9 | =head1 NAME |
10 | |
11 | Gitalist::View::Default - Catalyst View |
12 | |
13 | =head1 DESCRIPTION |
14 | |
15 | Catalyst View. |
16 | |
17 | =head1 AUTHOR |
18 | |
19 | Dan Brook,,, |
20 | |
21 | =head1 LICENSE |
22 | |
23 | This library is free software. You can redistribute it and/or modify |
24 | it under the same terms as Perl itself. |
25 | |
26 | =cut |
27 | |
28 | __PACKAGE__->config( |
29 | TEMPLATE_EXTENSION => '.tt2', |
30 | # Set the location for TT files |
31 | INCLUDE_PATH => [ Gitalist->path_to( 'templates' ) ], |
32 | # WRAPPER => 'default.tt2', |
33 | ); |
34 | |
42fe5d11 |
35 | __PACKAGE__->meta->make_immutable(inline_constructor => 0); |