| Vote documentation | Contained in the Vote distribution. |
Vote::View::TT - TT View for Vote
TT View for Vote.
Thauvin Olivier
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself or CeCILL.
| Vote documentation | Contained in the Vote distribution. |
package Vote::View::TT; use strict; use base 'Catalyst::View::TT'; __PACKAGE__->config( TEMPLATE_EXTENSION => '.tt', INCLUDE_PATH => Vote->path_to( 'root', 'templates' ), PRE_PROCESS => 'includes/header.tt', POST_PROCESS => 'includes/footer.tt', PLUGIN_BASE => 'Vote::Template::Plugin', );
sub process { my ($self, $c) = @_; $c->stash->{Vote}{VERSION} = $Vote::VERSION; Catalyst::View::TT::process($self, $c); }
1;