Chained: test and err handling for absolute path parts; test for recursive chains
[catagits/Catalyst-Runtime.git] / t / lib / TestAppChainedRecursive / Controller / Foo.pm
diff --git a/t/lib/TestAppChainedRecursive/Controller/Foo.pm b/t/lib/TestAppChainedRecursive/Controller/Foo.pm
new file mode 100644 (file)
index 0000000..36358d2
--- /dev/null
@@ -0,0 +1,11 @@
+package TestAppChainedRecursive::Controller::Foo;
+
+use strict;
+use warnings;
+
+use base qw/Catalyst::Controller/;
+
+sub foo : Chained('bar') CaptureArgs(1) { }
+sub bar : Chained('foo') CaptureArgs(1) { }
+
+1;