projects
/
catagits/CatalystX-Routes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Handle a controller where the namespace is the empty string nicely.
[catagits/CatalystX-Routes.git]
/
lib
/
CatalystX
/
Routes.pm
diff --git
a/lib/CatalystX/Routes.pm
b/lib/CatalystX/Routes.pm
index
67e43ef
..
ccd2fa7
100644
(file)
--- a/
lib/CatalystX/Routes.pm
+++ b/
lib/CatalystX/Routes.pm
@@
-112,6
+112,7
@@
sub _process_args {
unless ( $part =~ s{^/}{} ) {
$part = join q{/},
$meta->name()->action_namespace('FakeConfig'), $part;
+ $part =~ s{^/}{};
}
}