Merged 5.49_01 (r1339) from refactored branch to trunk
[catagits/Catalyst-Runtime.git] / t / live / lib / TestApp / Controller / Action / Path.pm
diff --git a/t/live/lib/TestApp/Controller/Action/Path.pm b/t/live/lib/TestApp/Controller/Action/Path.pm
new file mode 100644 (file)
index 0000000..2c19f0e
--- /dev/null
@@ -0,0 +1,16 @@
+package TestApp::Controller::Action::Path;
+
+use strict;
+use base 'TestApp::Controller::Action';
+
+sub one : Action Path("a path with spaces") {
+    my ( $self, $c ) = @_;
+    $c->forward('TestApp::View::Dump::Request');
+}
+
+sub two : Action Path("åäö") {
+    my ( $self, $c ) = @_;
+    $c->forward('TestApp::View::Dump::Request');
+}
+
+1;