__PACKAGE__->config(namespace => '');
-sub container_class :Local {
+sub index : Default {
my ($self, $c) = @_;
- $c->res->body($c->config->{container_class});
-}
-
-sub container_isa :Local {
- my ($self, $c) = @_;
- $c->res->body(ref $c->container);
-}
-
-sub get_model_bar :Local {
- my ($self, $c) = @_;
- $c->res->body(ref $c->model('Bar'));
-}
-
-sub get_model_baz :Local {
- my ($self, $c) = @_;
- $c->res->body(ref $c->model('Baz'));
-}
-
-sub get_model_foo :Local {
- my ($self, $c) = @_;
- $c->res->body(ref $c->model('DefaultSetup'));
+ $c->res->body('foo');
}
__PACKAGE__->meta->make_immutable;