Switched to Module::Install
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Relative.pm
index dce2eb8..84af0fc 100644 (file)
@@ -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;