diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-02-22 18:13:19 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-02-22 18:13:19 +0000 |
commit | b0ea7a45ef55e01a911121f3e2785a01bb619505 (patch) | |
tree | b012a694873406cd6a95e76c314553118e541b36 /perllib/FixMyStreet/App/View/Web.pm | |
parent | 7a8cca0c2537f7cc7ccafdcc630e2080799b6c15 (diff) |
Added template handling
Diffstat (limited to 'perllib/FixMyStreet/App/View/Web.pm')
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm new file mode 100644 index 000000000..0cb8e21b8 --- /dev/null +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -0,0 +1,27 @@ +package FixMyStreet::App::View::Web; +use base 'Catalyst::View::TT'; + +use strict; +use warnings; + +use FixMyStreet::App; + +__PACKAGE__->config( + TEMPLATE_EXTENSION => '.html', + INCLUDE_PATH => [ # + FixMyStreet::App->path_to( 'templates', 'web' ), + ], + render_die => 1, +); + +=head1 NAME + +FixMyStreet::App::View::Web - TT View for FixMyStreet::App + +=head1 DESCRIPTION + +TT View for FixMyStreet::App. + +=cut + +1; |