diff --git a/ghost/core/core/server/models/post.js b/ghost/core/core/server/models/post.js index a5b931e012..842c101590 100644 --- a/ghost/core/core/server/models/post.js +++ b/ghost/core/core/server/models/post.js @@ -39,9 +39,7 @@ Post = ghostBookshelf.Model.extend({ tableName: 'posts', actionsCollectCRUD: true, - actionsResourceType: function () { - return this.get('type') || this.previous('type'); - }, + actionsExtraContext: ['type'], /** * @NOTE