Skip to content

Commit

Permalink
[fix] Ensure options are passed from ResourcefulRouter constructor …
Browse files Browse the repository at this point in the history
…function
  • Loading branch information
indexzero committed Jun 7, 2012
1 parent e42bb14 commit 5ad03c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/restful.js
Expand Up @@ -46,7 +46,7 @@ var ResourcefulRouter = exports.ResourcefulRouter = function (resource, options)
this.resource = resource;
this.strict = options.strict || false;

_extendWithRoutes(this, resource);
_extendWithRoutes(this, resource, options);
};

//
Expand Down

0 comments on commit 5ad03c0

Please sign in to comment.