X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FAction%2FChained%2FAuto%2FForward.pm;fp=t%2Flib%2FTestApp%2FController%2FAction%2FChained%2FAuto%2FForward.pm;h=982439c7d592d0a95134203ace8d3ab7ebf50e49;hb=4a41d5d1ec3187cc41e15767b21c14b2aee31740;hp=0000000000000000000000000000000000000000;hpb=2757db2c7c600c8a0b8e2b4366f38c97804c2844;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Controller/Action/Chained/Auto/Forward.pm b/t/lib/TestApp/Controller/Action/Chained/Auto/Forward.pm new file mode 100644 index 0000000..982439c --- /dev/null +++ b/t/lib/TestApp/Controller/Action/Chained/Auto/Forward.pm @@ -0,0 +1,18 @@ +package TestApp::Controller::Action::Chained::Auto::Forward; +use warnings; +use strict; + +use base qw( Catalyst::Controller ); + +# +# For testing behaviour of a forwarding auto action in a chain. +# +sub auto : Private { + my ( $self, $c ) = @_; + $c->forward( '/action/chained/auto/fw3' ); + return 1; +} + +sub forwardend : Chained('/action/chained/auto/fw1') Args(1) { } + +1;