Skip to content

Commit

Permalink
Fix access-rules plugin description comment (#7665)
Browse files Browse the repository at this point in the history
no issue

The plugin extends `Bookshelf.Model.forge` not` Bookshelf.Model.force`
  • Loading branch information
cvibhagool authored and kirrg001 committed Nov 2, 2016
1 parent 0761891 commit ad9b59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/models/plugins/access-rules.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// # Access Rules
//
// Extends Bookshelf.Model.force to take a 'context' option which provides information on how this query should
// Extends Bookshelf.Model.forge to take a 'context' option which provides information on how this query should
// be treated in terms of data access rules - currently just detecting public requests
module.exports = function (Bookshelf) {
var model = Bookshelf.Model,
Expand Down

0 comments on commit ad9b59c

Please sign in to comment.