X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-View-Component-SubInclude.git;a=blobdiff_plain;f=t%2Flib%2FESITest%2FView%2FTT.pm;fp=t%2Flib%2FESITest%2FView%2FTT.pm;h=bf9d33cf3647c4e77ce0180425c6ed52f43d9a21;hp=4f17bd6dc8543a94378140e0baeb7442b70dc2d0;hb=8651b78cf910b9b807322fa1f00ae727fedbdf80;hpb=0a489ddc1ded386e501922906da675a2f45d262a diff --git a/t/lib/ESITest/View/TT.pm b/t/lib/ESITest/View/TT.pm index 4f17bd6..bf9d33c 100644 --- a/t/lib/ESITest/View/TT.pm +++ b/t/lib/ESITest/View/TT.pm @@ -7,6 +7,16 @@ with 'Catalyst::View::Component::SubInclude'; __PACKAGE__->config( TEMPLATE_EXTENSION => '.tt', subinclude_plugin => 'Visit', + subinclude => { + 'HTTP::GET' => { + class => 'HTTP', + http_method => 'GET', + uri_map => { + '/cpan/' => 'http://search.cpan.org/~', + '/github/' => 'http://github.com/', + }, + }, + }, ); 1;