projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
- Added new _DISPATCH private action for dispatching
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
DispatchType
/
Index.pm
diff --git
a/lib/Catalyst/DispatchType/Index.pm
b/lib/Catalyst/DispatchType/Index.pm
index
e0203e6
..
95ed8b5
100644
(file)
--- a/
lib/Catalyst/DispatchType/Index.pm
+++ b/
lib/Catalyst/DispatchType/Index.pm
@@
-29,7
+29,7
@@
sub match {
# Find default on namespace or super
if ($result) {
$c->action( $result->[0] );
- $c->namespace( $c->req->path );
+ $c->namespace( $result->[0]->namespace );
$c->req->action('index');
$c->req->match( $c->req->path );
return 1;