Last change
on this file since 128 was
128,
checked in by nanardon, 15 years ago
|
- code is now under PERL License and CeCILL
|
File size:
746 bytes
|
Rev | Line | |
---|
[3] | 1 | package Vote::View::TT; |
---|
| 2 | |
---|
| 3 | use strict; |
---|
| 4 | use base 'Catalyst::View::TT'; |
---|
| 5 | |
---|
| 6 | __PACKAGE__->config( |
---|
| 7 | TEMPLATE_EXTENSION => '.tt', |
---|
| 8 | INCLUDE_PATH => Vote->path_to( 'root', 'templates' ), |
---|
| 9 | PRE_PROCESS => 'includes/header.tt', |
---|
| 10 | POST_PROCESS => 'includes/footer.tt', |
---|
[108] | 11 | PLUGIN_BASE => 'Vote::Template::Plugin', |
---|
[3] | 12 | ); |
---|
| 13 | |
---|
| 14 | =head1 NAME |
---|
| 15 | |
---|
| 16 | Vote::View::TT - TT View for Vote |
---|
| 17 | |
---|
| 18 | =head1 DESCRIPTION |
---|
| 19 | |
---|
| 20 | TT View for Vote. |
---|
| 21 | |
---|
[36] | 22 | =cut |
---|
| 23 | |
---|
| 24 | sub process { |
---|
| 25 | my ($self, $c) = @_; |
---|
| 26 | |
---|
| 27 | $c->stash->{Vote}{VERSION} = $Vote::VERSION; |
---|
| 28 | Catalyst::View::TT::process($self, $c); |
---|
| 29 | } |
---|
| 30 | |
---|
[3] | 31 | =head1 SEE ALSO |
---|
| 32 | |
---|
| 33 | L<Vote> |
---|
| 34 | |
---|
| 35 | =head1 AUTHOR |
---|
| 36 | |
---|
| 37 | Thauvin Olivier |
---|
| 38 | |
---|
| 39 | =head1 LICENSE |
---|
| 40 | |
---|
| 41 | This library is free software, you can redistribute it and/or modify |
---|
[128] | 42 | it under the same terms as Perl itself or CeCILL. |
---|
[3] | 43 | |
---|
| 44 | =cut |
---|
| 45 | |
---|
| 46 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.