Permalink
Browse files

ns deprecared

  • Loading branch information...
1 parent b69a18a commit f3fdc63480244355c5531ba99cb9f1d45f9838e2 @1602 committed Mar 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/railway_routes.js
@@ -490,7 +490,7 @@ Map.prototype.namespace = function (name, options, subroutes) {
// store previous ns
var old_ns = this.ns, oldGlobPath = this.globPath;
// add new ns to old (ensure tail slash present)
- this.ns = old_ns + name.replace(/\/$/, '') + '/';
+ // this.ns = old_ns + name.replace(/\/$/, '') + '/';
this.globPath = oldGlobPath + name.replace(/\/$/, '') + '/';
if (options && options.middleware) {
this.middlewareStack = this.middlewareStack.concat(options.middleware);

0 comments on commit f3fdc63

Please sign in to comment.