aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MGA/Mirrors/View/TT.pm
blob: f5e2a50d1461a831b8915d0ff2ac4e1eaba0fa46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package MGA::Mirrors::View::TT;

use strict;
use warnings;
use MGA::Mirrors;

use base 'Catalyst::View::TT';

__PACKAGE__->config(
    TEMPLATE_EXTENSION => '.tt',
    render_die => 1,
    INCLUDE_PATH => [
        MGA::Mirrors->path_to( 'root', 'html', 'includes' ),
        MGA::Mirrors->path_to( 'root', 'html', 'pages' ),
    ],
    PRE_PROCESS => 'header.tt',
    POST_PROCESS => 'footer.tt',
);

=head1 NAME

MGA::Mirrors::View::TT - TT View for MGA::Mirrors

=head1 DESCRIPTION

TT View for MGA::Mirrors.

=head1 SEE ALSO

L<MGA::Mirrors>

=head1 AUTHOR

Olivier Thauvin

=head1 LICENSE

This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

1;