]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/View/TT.pm
Initial commit of catalyst files
[ndwebbie.git] / lib / NDWeb / View / TT.pm
diff --git a/lib/NDWeb/View/TT.pm b/lib/NDWeb/View/TT.pm
new file mode 100644 (file)
index 0000000..fc22bae
--- /dev/null
@@ -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<NDWeb>
+
+=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;
+