Add a test controller for :Chained('../../action').
Florian Ragwitz [Mon, 25 Aug 2008 17:28:56 +0000 (17:28 +0000)]
Forgot to add it in r8276.

t/lib/TestApp/Controller/Action/Chained/ParentChain/Relative.pm [new file with mode: 0644]

diff --git a/t/lib/TestApp/Controller/Action/Chained/ParentChain/Relative.pm b/t/lib/TestApp/Controller/Action/Chained/ParentChain/Relative.pm
new file mode 100644 (file)
index 0000000..36f2a6c
--- /dev/null
@@ -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;