0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Fix access-rules plugin description comment (#7665)

no issue

The plugin extends `Bookshelf.Model.forge` not` Bookshelf.Model.force`
This commit is contained in:
Ben Vibhagool 2016-11-02 18:40:09 +07:00 committed by Katharina Irrgang
parent 07618911b4
commit ad9b59c87c

View file

@ -1,6 +1,6 @@
// # Access Rules // # 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 // be treated in terms of data access rules - currently just detecting public requests
module.exports = function (Bookshelf) { module.exports = function (Bookshelf) {
var model = Bookshelf.Model, var model = Bookshelf.Model,