1 package TestApp::Controller::Action::ChildOf::Foo;
6 use base qw/Catalyst::Controller/;
9 # Child of current namespace
11 sub spoon :ChildOf('') :Args(0) { }
14 # Root for a action in a "parent" controller
16 sub higher_root :PathPart('childof/higher_root') :ChildOf('/') :Captures(1) { }
19 # Parent controller -> this subcontroller -> parent controller test
21 sub pcp2 :ChildOf('/action/childof/pcp1') :Captures(1) { }
24 # Controllers not in parent/child relation. This tests the end.
26 sub cross2 :PathPart('end') :ChildOf('/action/childof/bar/cross1') :Args(1) { }