Commit | Line | Data |
30726632 |
1 | package ESITest::View::TT; |
2 | use Moose; |
9fb2f435 |
3 | use namespace::autoclean; |
30726632 |
4 | |
5 | extends 'Catalyst::View::TT'; |
6 | with 'Catalyst::View::Component::SubInclude'; |
7 | |
11b89270 |
8 | __PACKAGE__->config( |
9fb2f435 |
9 | render_die => 1, |
11b89270 |
10 | TEMPLATE_EXTENSION => '.tt', |
11 | subinclude_plugin => 'Visit', |
48509210 |
12 | subinclude => { |
13 | 'HTTP::GET' => { |
14 | class => 'HTTP', |
15 | http_method => 'GET', |
16 | uri_map => { |
17 | '/cpan/' => 'http://search.cpan.org/~', |
18 | '/github/' => 'http://github.com/', |
19 | }, |
20 | }, |
21 | }, |
11b89270 |
22 | ); |
30726632 |
23 | |
9fb2f435 |
24 | __PACKAGE__->meta->make_immutable; |
30726632 |
25 | 1; |
9fb2f435 |
26 | |