Skip to content
Browse files

[fix] Ensure options are passed from `ResourcefulRouter` constructor …

…function
  • Loading branch information...
1 parent e42bb14 commit 5ad03c0cf7991c882b6b34060d1d64f233286f6c @indexzero indexzero committed Jun 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/restful.js
View
2 lib/restful.js
@@ -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);
};
//

0 comments on commit 5ad03c0

Please sign in to comment.
Something went wrong with that request. Please try again.