Will flatten the capture args in uri_for
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Chained / Auto / Bar.pm
diff --git a/t/lib/TestApp/Controller/Action/Chained/Auto/Bar.pm b/t/lib/TestApp/Controller/Action/Chained/Auto/Bar.pm
new file mode 100644 (file)
index 0000000..9147904
--- /dev/null
@@ -0,0 +1,16 @@
+package TestApp::Controller::Action::Chained::Auto::Bar;
+use warnings;
+use strict;
+
+use base qw( Catalyst::Controller );
+
+#
+#   Test chain reaction if auto action returns 0.
+#
+sub auto        : Private { 0 }
+
+sub barend      : Chained('.') Args(1) { }
+
+sub crossloose  : Chained PathPart('chained/auto_cross') CaptureArgs(1) { }
+
+1;