]> Dogcows Code - chaz/chatty/blobdiff - lib/Chatty/View/HTML.pm
adding a basic template to build off of
[chaz/chatty] / lib / Chatty / View / HTML.pm
diff --git a/lib/Chatty/View/HTML.pm b/lib/Chatty/View/HTML.pm
new file mode 100644 (file)
index 0000000..02877fb
--- /dev/null
@@ -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<Chatty>
+
+=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;
This page took 0.018844 seconds and 4 git commands to generate.