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' => "åäö" },
+ 'six' => { 'Local' => undef },
+ },
+);
+
+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');
}
$c->forward('TestApp::View::Dump::Request');
}
+sub six {
+ my ( $self, $c ) = @_;
+ $c->forward('TestApp::View::Dump::Request');
+}
+
1;