X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FAction%2FPath.pm;h=3a935255882f3e15305fc004263fdb2fe7edc854;hb=69e7f14788b27841bc9573491b5afc7e2dc9a351;hp=1c365378d5768ba2e74dbb8cf98ab6c14b9faf30;hpb=66741f94ac93b7ba0989db3556d0e3fe36c1be87;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Controller/Action/Path.pm b/t/lib/TestApp/Controller/Action/Path.pm index 1c36537..3a93525 100644 --- a/t/lib/TestApp/Controller/Action/Path.pm +++ b/t/lib/TestApp/Controller/Action/Path.pm @@ -3,12 +3,19 @@ package TestApp::Controller::Action::Path; use strict; use base 'TestApp::Controller::Action'; -sub one : Action Path("a path with spaces") { +__PACKAGE__->config( + actions => { + 'one' => { 'Path' => [ 'a path with spaces' ] }, + 'two' => { 'Path' => "åäö" }, + }, +); + +sub one : Action Path("this_will_be_overriden") { my ( $self, $c ) = @_; $c->forward('TestApp::View::Dump::Request'); } -sub two : Action Path("åäö") { +sub two : Action { my ( $self, $c ) = @_; $c->forward('TestApp::View::Dump::Request'); }