adapt TestAppCustomContainer, not to break everything while it's not ready
[catagits/Catalyst-Runtime.git] / t / lib / TestAppCustomContainer / Controller / Root.pm
CommitLineData
88cea23c 1package TestAppCustomContainer::Controller::Root;
3ef84846 2use Moose;
3BEGIN { extends 'Catalyst::Controller' }
4
57f94df6 5__PACKAGE__->config(namespace => '');
6
7sub container_class :Local {
8 my ($self, $c) = @_;
9 $c->res->body($c->config->{container_class});
10}
11
12sub container_isa :Local {
13 my ($self, $c) = @_;
14 $c->res->body(ref $c->container);
15}
16
3ef84846 17__PACKAGE__->meta->make_immutable;
18no Moose;
191;