6 use Catalyst; # qw/-Debug/;
12 default_message => 'hi',
13 default_view => 'Pkgconfig',
14 'View::TT::Appconfig' => {
17 TEMPLATE_EXTENSION => '.tt',
23 sub default : Private {
26 $c->response->redirect($c->uri_for('test'));
32 $c->stash->{message} = ($c->request->param('message') || $c->config->{default_message});
38 return 1 if $c->response->status =~ /^3\d\d$/;
39 return 1 if $c->response->body;
41 my $view = 'View::TT::' . ($c->request->param('view') || $c->config->{default_view});