1 package TestApp::Controller::Action::Chained::ParentChain;
5 use base qw/ Catalyst::Controller /;
8 # Chains to the action /action/chained/parentchain in the
9 # Action::Chained controller.
11 sub child :Chained('.') :Args(1) { }
13 # Should be at /chained/rootdef/*/chained_rel/*/*
14 sub chained_rel :Chained('../one') Args(2) {
17 # Should chain to loose in parent namespace - i.e. at /chained/loose/*/loose/*/*
18 sub loose : ChainedParent Args(2) {
21 # Should be at /chained/cross/*/up_down/*
22 sub up_down : Chained('../bar/cross1') Args(1) {