auto/forward/detach tests for Chained
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Chained / Auto / Detach.pm
CommitLineData
2349aeea 1package TestApp::Controller::Action::Chained::Auto::Detach;
2use warnings;
3use strict;
4
5use base qw( Catalyst::Controller );
6
7#
8# For testing behaviour of a detaching auto action in a chain.
9#
10sub auto : Private {
11 my ( $self, $c ) = @_;
12 $c->detach( '/action/chained/auto/fw3' );
13 return 1;
14}
15
16sub detachend : Chained('/action/chained/auto/dt1') Args(1) { }
17
181;