X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-View-Component-SubInclude.git;a=blobdiff_plain;f=t%2Flib%2FKeepStash%2FView%2FTT.pm;fp=t%2Flib%2FKeepStash%2FView%2FTT.pm;h=bfbe3ae81e2d21b80e9a531fde191a9eab745c0b;hp=0000000000000000000000000000000000000000;hb=f78902eadae8586dc9cc7a9e3821baadb4d4d197;hpb=e02835f505904212def30b3b62430d56a7597c71 diff --git a/t/lib/KeepStash/View/TT.pm b/t/lib/KeepStash/View/TT.pm new file mode 100644 index 0000000..bfbe3ae --- /dev/null +++ b/t/lib/KeepStash/View/TT.pm @@ -0,0 +1,21 @@ +package KeepStash::View::TT; +use Moose; + +extends 'Catalyst::View::TT'; +with 'Catalyst::View::Component::SubInclude'; + +__PACKAGE__->config( + TEMPLATE_EXTENSION => '.tt', + subinclude_plugin => 'SubRequest', + subinclude_plugin => 'Visit', + subinclude => { + 'SubRequest' => { + keep_stash => 1 + }, + 'Visit' => { + keep_stash => 1 + } + }, +); + +1;