Permalink
Browse files

All route ids applied to root object instead of tiered

  • Loading branch information...
1 parent 8a0d479 commit d945382f636afd72964292bb5720678c8043f605 @jimib committed Mar 7, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 index.js
View
@@ -47,8 +47,7 @@ function Mapper(app, rootPath,routes){
function createNameSpace(id, path){
checkRoute(id);
path = path || id;
- routes[id] = {};
- return new Mapper(app, createFullPath(rootPath, path), routes[id]);
+ return new Mapper(app, createFullPath(rootPath, path), routes);
}
return {

0 comments on commit d945382

Please sign in to comment.