X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FAction%2FRelative.pm;h=84af0fc69635830ede8d4f6f42ccc663edcd9dce;hp=dce2eb8140ccd739acecac7c4f2282455c03e0a7;hb=66741f94ac93b7ba0989db3556d0e3fe36c1be87;hpb=dd4e6fd2152eea9f5b0c1f559575ced7684ef257 diff --git a/t/lib/TestApp/Controller/Action/Relative.pm b/t/lib/TestApp/Controller/Action/Relative.pm index dce2eb8..84af0fc 100644 --- a/t/lib/TestApp/Controller/Action/Relative.pm +++ b/t/lib/TestApp/Controller/Action/Relative.pm @@ -3,24 +3,14 @@ package TestApp::Controller::Action::Relative; use strict; use base 'TestApp::Controller::Action'; -sub one : Action Relative { +sub relative : Local { my ( $self, $c ) = @_; - $c->forward('TestApp::View::Dump::Request'); + $c->forward('/action/forward/one'); } -sub two : Action Local { +sub relative_two : Local { my ( $self, $c ) = @_; - $c->forward('TestApp::View::Dump::Request'); -} - -sub three : Action Path('three') { - my ( $self, $c ) = @_; - $c->forward('TestApp::View::Dump::Request'); -} - -sub four : Action Path('four/five/six') { - my ( $self, $c ) = @_; - $c->forward('TestApp::View::Dump::Request'); + $c->forward( 'TestApp::Controller::Action::Forward', 'one' ); } 1;