X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=lib%2FChatty%2FView%2FHTML.pm;fp=lib%2FChatty%2FView%2FHTML.pm;h=02877fbe7bf06646a82dbf362bac62518ea9e2c3;hp=0000000000000000000000000000000000000000;hb=6d0804a199f1cae7be898b771829c0dfbf2de7f1;hpb=a8521f31e2464f3ba892cbb283ef212958cf014d diff --git a/lib/Chatty/View/HTML.pm b/lib/Chatty/View/HTML.pm new file mode 100644 index 0000000..02877fb --- /dev/null +++ b/lib/Chatty/View/HTML.pm @@ -0,0 +1,42 @@ +package Chatty::View::HTML; + +use strict; +use warnings; + +use base 'Catalyst::View::TT'; + +__PACKAGE__->config( + TEMPLATE_EXTENSION => '.tt', + INCLUDE_PATH => [ + Chatty->path_to('root', 'tt'), + ], + WRAPPER => 'wrapper.tt', + render_die => 1, + COMPILE_DIR => '/tmp/tt_cache', +); + + +=head1 NAME + +Chatty::View::HTML - TT View for Chatty + +=head1 DESCRIPTION + +TT View for Chatty. + +=head1 SEE ALSO + +L + +=head1 AUTHOR + +Charles McGarvey + +=head1 LICENSE + +This library is free software. You can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut + +1;