Started on making everything a bit less bleh.
[catagits/Gitalist.git] / lib / Gitalist / View / Default.pm
1 package Gitalist::View::Default;
2 use Moose;
3 use Gitalist; # ->path_to
4 use namespace::autoclean;
5
6 extends 'Catalyst::View::TT';
7
8 use Template::Plugin::Cycle;
9
10 =head1 NAME
11
12 Gitalist::View::Default - Catalyst View
13
14 =head1 DESCRIPTION
15
16 Catalyst View.
17
18 =head1 AUTHOR
19
20 Dan Brook
21
22 =head1 LICENSE
23
24 This library is free software. You can redistribute it and/or modify
25 it under the same terms as Perl itself.
26
27 =cut
28
29 __PACKAGE__->config(
30         TEMPLATE_EXTENSION => '.tt2',
31         # Set the location for TT files
32         INCLUDE_PATH       => [ Gitalist->path_to( 'templates' ) ],
33         WRAPPER            => 'default.tt2',
34 );
35
36 __PACKAGE__->meta->make_immutable(inline_constructor => 0);