1 package TestAppOneView::Controller::Root;
3 use base 'Catalyst::Controller';
6 __PACKAGE__->config->{namespace} = '';
8 sub view_no_args : Local {
13 $c->res->body(Scalar::Util::blessed($v));
16 sub view_by_name : Local {
17 my ( $self, $c ) = @_;
19 my $v = $c->view($c->req->param('view'));
21 $c->res->body(Scalar::Util::blessed($v));