projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6372237
)
second try
Sebastian Riedel [Mon, 28 Mar 2005 21:51:01 +0000 (21:51 +0000)]
lib/Catalyst/Engine.pm
patch
|
blob
|
blame
|
history
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;