update distar url
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Chained / ParentChain.pm
CommitLineData
0e853a7f 1package TestApp::Controller::Action::Chained::ParentChain;
2use warnings;
3use strict;
4
5use base qw/ Catalyst::Controller /;
6
7#
8# Chains to the action /action/chained/parentchain in the
9# Action::Chained controller.
10#
11sub child :Chained('.') :Args(1) { }
12
2f381252 13# Should be at /chained/rootdef/*/chained_rel/*/*
14sub chained_rel :Chained('../one') Args(2) {
15}
16
17# Should chain to loose in parent namespace - i.e. at /chained/loose/*/loose/*/*
18sub loose : ChainedParent Args(2) {
19}
20
21# Should be at /chained/cross/*/up_down/*
22sub up_down : Chained('../bar/cross1') Args(1) {
23}
24
0e853a7f 251;