[Catalyst-commits] r8282 - in
Catalyst-Runtime/5.70/trunk/t/lib/TestApp/Controller/Action/Chained:
. ParentChain
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Mon Aug 25 18:28:56 BST 2008
Author: rafl
Date: 2008-08-25 18:28:56 +0100 (Mon, 25 Aug 2008)
New Revision: 8282
Added:
Catalyst-Runtime/5.70/trunk/t/lib/TestApp/Controller/Action/Chained/ParentChain/
Catalyst-Runtime/5.70/trunk/t/lib/TestApp/Controller/Action/Chained/ParentChain/Relative.pm
Log:
Add a test controller for :Chained('../../action').
Forgot to add it in r8276.
Added: Catalyst-Runtime/5.70/trunk/t/lib/TestApp/Controller/Action/Chained/ParentChain/Relative.pm
===================================================================
--- Catalyst-Runtime/5.70/trunk/t/lib/TestApp/Controller/Action/Chained/ParentChain/Relative.pm (rev 0)
+++ Catalyst-Runtime/5.70/trunk/t/lib/TestApp/Controller/Action/Chained/ParentChain/Relative.pm 2008-08-25 17:28:56 UTC (rev 8282)
@@ -0,0 +1,10 @@
+package TestApp::Controller::Action::Chained::ParentChain::Relative;
+use warnings;
+use strict;
+
+use base qw/ Catalyst::Controller /;
+
+# using ../ to go up more than one level
+sub chained_rel_two : Chained('../../one') Args(2) { }
+
+1;
More information about the Catalyst-commits
mailing list