diff --git a/core/client/routes/posts/post.js b/core/client/routes/posts/post.js index c20a8e6355..85071dab3a 100644 --- a/core/client/routes/posts/post.js +++ b/core/client/routes/posts/post.js @@ -55,11 +55,15 @@ var PostsPostRoute = Ember.Route.extend(SimpleAuth.AuthenticatedRouteMixin, load }, shortcuts: { - 'enter': 'openEditor' + 'enter': 'openEditor', + 'command+backspace, ctrl+backspace': 'deletePost' }, actions: { openEditor: function () { this.transitionTo('editor.edit', this.get('controller.model')); + }, + deletePost: function () { + this.send('openModal', 'delete-post', this.get('controller.model')); } } });