X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=lib%2FNDWeb%2FView%2FTT.pm;h=ac28c3fd1f8a55bc717e42fee0406dc7c8bace26;hb=9f873f796fe945835f748bafecb3e2ac9ef0b014;hp=fc22bae70bb1033e9e32a7330dc174215cb625c7;hpb=3fc40135d773a95ede229e71efb48e07fdf3c418;p=ndwebbie.git diff --git a/lib/NDWeb/View/TT.pm b/lib/NDWeb/View/TT.pm index fc22bae..ac28c3f 100644 --- a/lib/NDWeb/View/TT.pm +++ b/lib/NDWeb/View/TT.pm @@ -3,17 +3,23 @@ package NDWeb::View::TT; use strict; use base 'Catalyst::View::TT'; +use NDWeb::Include; + __PACKAGE__->config({ INCLUDE_PATH => [ NDWeb->path_to( 'root', 'src' ), NDWeb->path_to( 'root', 'lib' ) ], + FILTERS => { + commify => \&comma_value, + }, PRE_PROCESS => 'config/main.tt2', WRAPPER => 'site/wrapper.tt2', ERROR => 'error.tt2', TIMER => 0, #DEBUG => 'undef', TEMPLATE_EXTENSION => '.tt2', + #CACHE_SIZE => 256, }); =head1 NAME