Refreshing branch
[catagits/Catalyst-Runtime.git] / trunk / t / lib / TestAppWithMeta / Controller / Root.pm
CommitLineData
ceae39c5 1package TestAppWithMeta::Controller::Root;
2use base qw/Catalyst::Controller/; # N.B. Do not convert to Moose, so we do not
3 # have a metaclass instance!
4
5__PACKAGE__->config( namespace => '' );
6
7no warnings 'redefine';
8sub meta { 'fnar' }
9use warnings 'redefine';
10
11sub default : Private {
12 my ($self, $c) = @_;
13 $c->res->body($self->meta);
14}
15
161;
17