Line | |
---|
1 | package Sophie::View::TT; |
---|
2 | |
---|
3 | use strict; |
---|
4 | use warnings; |
---|
5 | use Sophie; |
---|
6 | |
---|
7 | use base 'Catalyst::View::TT'; |
---|
8 | |
---|
9 | __PACKAGE__->config( |
---|
10 | TEMPLATE_EXTENSION => '.html', |
---|
11 | render_die => 1, |
---|
12 | INCLUDE_PATH => [ |
---|
13 | Sophie->path_to( 'root', 'templates', 'includes' ), |
---|
14 | Sophie->path_to( 'root', 'templates', 'html' ), |
---|
15 | ], |
---|
16 | PRE_PROCESS => 'header.tt', |
---|
17 | POST_PROCESS => 'footer.tt', |
---|
18 | ); |
---|
19 | |
---|
20 | =head1 NAME |
---|
21 | |
---|
22 | Sophie::View::TT - TT View for Sophie |
---|
23 | |
---|
24 | =head1 DESCRIPTION |
---|
25 | |
---|
26 | TT View for Sophie. |
---|
27 | |
---|
28 | =head1 SEE ALSO |
---|
29 | |
---|
30 | L<Sophie> |
---|
31 | |
---|
32 | =head1 AUTHOR |
---|
33 | |
---|
34 | Olivier Thauvin |
---|
35 | |
---|
36 | =head1 LICENSE |
---|
37 | |
---|
38 | This library is free software. You can redistribute it and/or modify |
---|
39 | it under the same terms as Perl itself. |
---|
40 | |
---|
41 | =cut |
---|
42 | |
---|
43 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.