X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=lib%2FNDWeb%2FView%2FTT.pm;fp=lib%2FNDWeb%2FView%2FTT.pm;h=fc22bae70bb1033e9e32a7330dc174215cb625c7;hb=3fc40135d773a95ede229e71efb48e07fdf3c418;hp=0000000000000000000000000000000000000000;hpb=253b06f925b12f8b5d3528dbf932a4c9427508aa;p=ndwebbie.git diff --git a/lib/NDWeb/View/TT.pm b/lib/NDWeb/View/TT.pm new file mode 100644 index 0000000..fc22bae --- /dev/null +++ b/lib/NDWeb/View/TT.pm @@ -0,0 +1,43 @@ +package NDWeb::View::TT; + +use strict; +use base 'Catalyst::View::TT'; + +__PACKAGE__->config({ + INCLUDE_PATH => [ + NDWeb->path_to( 'root', 'src' ), + NDWeb->path_to( 'root', 'lib' ) + ], + PRE_PROCESS => 'config/main.tt2', + WRAPPER => 'site/wrapper.tt2', + ERROR => 'error.tt2', + TIMER => 0, + #DEBUG => 'undef', + TEMPLATE_EXTENSION => '.tt2', +}); + +=head1 NAME + +NDWeb::View::TT - Catalyst TTSite View + +=head1 SYNOPSIS + +See L + +=head1 DESCRIPTION + +Catalyst TTSite View. + +=head1 AUTHOR + +A clever guy + +=head1 LICENSE + +This library is free software, you can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut + +1; +