X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=trunk%2Ft%2Flib%2FTestApp%2FController%2FAction%2FChained%2FFoo.pm;fp=trunk%2Ft%2Flib%2FTestApp%2FController%2FAction%2FChained%2FFoo.pm;h=0000000000000000000000000000000000000000;hb=2757db2c7c600c8a0b8e2b4366f38c97804c2844;hp=2f917c11a305b75c403a450d292c2f339ea15292;hpb=ceae39c522c2145a453188867dd581062795ecee;p=catagits%2FCatalyst-Runtime.git diff --git a/trunk/t/lib/TestApp/Controller/Action/Chained/Foo.pm b/trunk/t/lib/TestApp/Controller/Action/Chained/Foo.pm deleted file mode 100644 index 2f917c1..0000000 --- a/trunk/t/lib/TestApp/Controller/Action/Chained/Foo.pm +++ /dev/null @@ -1,38 +0,0 @@ -package TestApp::Controller::Action::Chained::Foo; - -use strict; -use warnings; - -use base qw/Catalyst::Controller/; - -# -# Child of current namespace -# -sub spoon :Chained('.') :Args(0) { } - -# -# Root for a action in a "parent" controller -# -sub higher_root :PathPart('chained/higher_root') :Chained('/') :CaptureArgs(1) { } - -# -# Parent controller -> this subcontroller -> parent controller test -# -sub pcp2 :Chained('/action/chained/pcp1') :CaptureArgs(1) { } - -# -# Controllers not in parent/child relation. This tests the end. -# -sub cross2 :PathPart('end') :Chained('/action/chained/bar/cross1') :Args(1) { } - -# -# Create a uri to the root index -# -sub to_root : Chained('/') PathPart('action/chained/to_root') { - my ( $self, $c ) = @_; - my $uri = $c->uri_for_action('/chain_root_index'); - $c->res->body( "URI:$uri" ); - $c->stash->{no_end}++; -} - -1;