1 package TestApp::Controller::Action::ChildOf;
6 use base qw/Catalyst::Controller/;
10 sub foo :PathPart('childof/foo') :Captures(1) :ChildOf('/') { }
12 sub bar :PathPart('childof/bar') :ChildOf('/') { }
14 sub endpoint :PathPart('end') :ChildOf('/action/childof/foo') :Args(1) { }
16 sub finale :ChildOf('bar') :Args { }
20 my $out = join('; ', map { join(', ', @$_) }
21 ($c->req->captures, $c->req->args));