projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed helper
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Engine.pm
diff --git
a/lib/Catalyst/Engine.pm
b/lib/Catalyst/Engine.pm
index
98a1f92
..
af59ea2
100644
(file)
--- a/
lib/Catalyst/Engine.pm
+++ b/
lib/Catalyst/Engine.pm
@@
-689,6
+689,7
@@
sub set_action {
$path = $1;
$absolute = 1;
}
+ $absolute = 1 if $flags{global};
my $name = $absolute ? $path : "$prefix/$path";
$c->actions->{plain}->{$name} = [ $namespace, $code ];
$c->log->debug(qq|Public "/$name" is "/$forward"|) if $c->debug;