Captures -> CapureArgs
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Chained / Auto.pm
CommitLineData
2349aeea 1package TestApp::Controller::Action::Chained::Auto;
2use warnings;
3use strict;
4
5use base qw( Catalyst::Controller );
6
7#
8# Provided for sub-auto tests. This just always returns true.
9#
10sub auto : Private { 1 }
11
12#
13# Simple chains with auto actions returning 1 and 0
14#
1c34f703 15sub foo : Chained PathPart('chained/autochain1') CaptureArgs(1) { }
16sub bar : Chained PathPart('chained/autochain2') CaptureArgs(1) { }
2349aeea 17
18#
19# Detaching out of an auto action.
20#
1c34f703 21sub dt1 : Chained PathPart('chained/auto_detach') CaptureArgs(1) { }
2349aeea 22
23#
24# Forwarding out of an auto action.
25#
1c34f703 26sub fw1 : Chained PathPart('chained/auto_forward') CaptureArgs(1) { }
2349aeea 27
28#
29# Target for dispatch and forward tests.
30#
31sub fw3 : Private { }
32
331;