some playing
[catagits/Catalyst-Runtime.git] / t / lib / TestAppCustomContainer / Controller / Root.pm
index a6ddb2f..311d006 100644 (file)
@@ -4,29 +4,9 @@ BEGIN { extends 'Catalyst::Controller' }
 
 __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;