source: trunk/lib/Vote/View/TT.pm @ 128

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
Line 
1package Vote::View::TT;
2
3use strict;
4use 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',
11    PLUGIN_BASE => 'Vote::Template::Plugin',
12);
13
14=head1 NAME
15
16Vote::View::TT - TT View for Vote
17
18=head1 DESCRIPTION
19
20TT View for Vote.
21
22=cut
23
24sub process {
25    my ($self, $c) = @_;
26
27    $c->stash->{Vote}{VERSION} = $Vote::VERSION;
28    Catalyst::View::TT::process($self, $c);
29}
30
31=head1 SEE ALSO
32
33L<Vote>
34
35=head1 AUTHOR
36
37Thauvin Olivier
38
39=head1 LICENSE
40
41This library is free software, you can redistribute it and/or modify
42it under the same terms as Perl itself or CeCILL.
43
44=cut
45
461;
Note: See TracBrowser for help on using the repository browser.