Commit | Line | Data |
---|---|---|
88cea23c | 1 | package TestAppCustomContainer::Controller::Root; |
3ef84846 | 2 | use Moose; |
3 | BEGIN { extends 'Catalyst::Controller' } | |
4 | ||
57f94df6 | 5 | __PACKAGE__->config(namespace => ''); |
6 | ||
7 | sub container_class :Local { | |
8 | my ($self, $c) = @_; | |
9 | $c->res->body($c->config->{container_class}); | |
10 | } | |
11 | ||
12 | sub container_isa :Local { | |
13 | my ($self, $c) = @_; | |
14 | $c->res->body(ref $c->container); | |
15 | } | |
16 | ||
3ef84846 | 17 | __PACKAGE__->meta->make_immutable; |
18 | no Moose; | |
19 | 1; |