1 package TestAppWithMeta::Controller::Root;
2 use base qw/Catalyst::Controller/; # N.B. Do not convert to Moose, so we do not
3 # have a metaclass instance!
5 __PACKAGE__->config( namespace => '' );
7 no warnings 'redefine';
9 use warnings 'redefine';
11 sub default : Private {
13 $c->res->body($self->meta);