convert test checking middleware set in config to setting middleware in plugin
[catagits/Catalyst-Runtime.git] / t / lib / TestMiddlewareFromPlugin / Controller / Root.pm
CommitLineData
a21b0034 1package TestMiddlewareFromPlugin::Controller::Root;
9da24147 2
3use Moose;
4use MooseX::MethodAttributes;
5
6extends 'Catalyst::Controller';
7
8sub default : Path { }
9sub welcome : Path(welcome) {
10 pop->res->body('Welcome to Catalyst');
11}
12
13__PACKAGE__->meta->make_immutable;