Removed Persistent Perl from cookbook
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Forward.pm
index ec3631a..8a88e7f 100644 (file)
@@ -20,7 +20,7 @@ sub three : Relative {
 
 sub four : Private {
     my ( $self, $c ) = @_;
-    $c->forward('five');
+    $c->forward('/action/forward/five');
 }
 
 sub five : Relative {
@@ -28,10 +28,24 @@ sub five : Relative {
     $c->forward('TestApp::View::Dump::Request');
 }
 
+
 sub jojo : Relative {
     my ( $self, $c ) = @_;
     $c->forward('one');
     $c->forward('three');
 }
 
+
+sub inheritance : Relative {
+    my ( $self, $c ) = @_;
+    $c->forward('engine/response/cookies/one');
+    $c->forward('five');
+}
+
+sub global : Relative {
+    my ( $self, $c ) = @_;
+    $c->forward('/global_action');
+}
+
+
 1;