prepared for release of 5.65
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Args.pm
diff --git a/t/lib/TestApp/Controller/Args.pm b/t/lib/TestApp/Controller/Args.pm
new file mode 100644 (file)
index 0000000..6a448cd
--- /dev/null
@@ -0,0 +1,17 @@
+package TestApp::Controller::Args;
+
+use strict;
+use base 'Catalyst::Base';
+use Data::Dumper;
+
+sub args :Local  {
+    my ( $self, $c ) = @_;
+    $c->res->body( join('',@{$c->req->args}) );
+}
+
+sub params :Local {
+    my ( $self, $c ) = splice @_, 0, 2;
+    $c->res->body( join('',@_) );
+}
+
+1;
\ No newline at end of file