Skip to content

Commit

Permalink
Fix for nested namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
grayt0r committed Feb 5, 2012
1 parent 94b6a7d commit be5e7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ exports.addBasePath = function (basePath, prefix, context) {
Controller.context[ctl] = Controller.context[ctl] || context;
}
} else if (stat.isDirectory()) {
exports.addBasePath(path.join(basePath, file), file + '/');
exports.addBasePath(path.join(basePath, file), prefix + file + '/');
}
});
}
Expand Down

0 comments on commit be5e7ed

Please sign in to comment.