X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FAction%2FChained%2FPathPrefix.pm;fp=t%2Flib%2FTestApp%2FController%2FAction%2FChained%2FPathPrefix.pm;h=0d3b8595040a5014a0a9d65b847a232ed588c498;hb=e5d2cfdb03e4f8678893e7ceb550f2b4303f2d3a;hp=0000000000000000000000000000000000000000;hpb=33e27a8d37f2891a7891797cfca767f3739ac16c;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Controller/Action/Chained/PathPrefix.pm b/t/lib/TestApp/Controller/Action/Chained/PathPrefix.pm new file mode 100644 index 0000000..0d3b859 --- /dev/null +++ b/t/lib/TestApp/Controller/Action/Chained/PathPrefix.pm @@ -0,0 +1,12 @@ +package TestApp::Controller::Action::Chained::PathPrefix; + +use strict; +use warnings; + +use base qw/Catalyst::Controller/; + +# this is kinda the same thing as: sub instance : Path {} +# it should respond to: /action/chained/pathprefix/* +sub instance : Chained('/') PathPrefix Args(1) { } + +1;