Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Pass options.parentResources by copy instead of reference.

  • Loading branch information...
commit 237c79b3e97240b97fc640d59a41ac85ae6d5049 1 parent 0dfaac8
@olalonde authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/railway_routes.js
View
2  lib/railway_routes.js
@@ -155,7 +155,7 @@ Map.prototype.root = function (handler, middleware, options) {
options = {};
}
- options.parentResources = this.latestResources;
+ options.parentResources = this.latestResources.slice();
var path;
if (typeof subpath === 'string') {
Please sign in to comment.
Something went wrong with that request. Please try again.