diff --git a/ghost/admin/app/controllers/editor.js b/ghost/admin/app/controllers/editor.js index acaa11815d..f5332c2f8c 100644 --- a/ghost/admin/app/controllers/editor.js +++ b/ghost/admin/app/controllers/editor.js @@ -670,7 +670,7 @@ export default Controller.extend({ }).group('saveTasks'), // convenience method for saving the post and performing post-save cleanup - _savePostTask: task(function* (options) { + _savePostTask: task(function* (options = {}) { let {post} = this; const previousEmailOnlyValue = this.post.emailOnly;