test for capture fix, missing svk add
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Chained / Root.pm
diff --git a/t/lib/TestApp/Controller/Action/Chained/Root.pm b/t/lib/TestApp/Controller/Action/Chained/Root.pm
new file mode 100644 (file)
index 0000000..a0cc626
--- /dev/null
@@ -0,0 +1,13 @@
+package TestApp::Controller::Action::Chained::Root;
+
+use strict;
+use warnings;
+
+use base qw( Catalyst::Controller );
+
+__PACKAGE__->config->{namespace} = '';
+
+sub rootsub     : PathPart Chained( '/' )       CaptureArgs( 1 ) { }
+sub endpointsub : PathPart Chained( 'rootsub' ) Args( 1 )        { }
+
+1;