bfbe3ae81e2d21b80e9a531fde191a9eab745c0b
[catagits/Catalyst-View-Component-SubInclude.git] / t / lib / KeepStash / View / TT.pm
1 package KeepStash::View::TT;
2 use Moose;
3
4 extends 'Catalyst::View::TT';
5 with 'Catalyst::View::Component::SubInclude';
6
7 __PACKAGE__->config(
8     TEMPLATE_EXTENSION => '.tt',
9     subinclude_plugin => 'SubRequest',
10     subinclude_plugin => 'Visit',
11     subinclude => {
12         'SubRequest' => {
13             keep_stash => 1
14         },
15         'Visit' => {
16             keep_stash => 1
17         }
18     },
19 );
20
21 1;