second try
Sebastian Riedel [Mon, 28 Mar 2005 21:51:01 +0000 (21:51 +0000)]
lib/Catalyst/Engine.pm

index 98a1f92..af59ea2 100644 (file)
@@ -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;