]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/View/TT.pm
Need to signal ndbot.pl instead of irssi
[ndwebbie.git] / lib / NDWeb / View / TT.pm
index fc22bae70bb1033e9e32a7330dc174215cb625c7..ac28c3fd1f8a55bc717e42fee0406dc7c8bace26 100644 (file)
@@ -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