Ghost/ghost/admin/app/controllers/editor/edit.js
Jason Williams feac9682d0 Update Ember to 1.13.2
- Refactor to handle deprecations including removal of
  all Views, ArrayControllers, and ItemControllers.
2015-06-24 11:47:28 -05:00

11 lines
309 B
JavaScript

import Ember from 'ember';
import EditorControllerMixin from 'ghost/mixins/editor-base-controller';
export default Ember.Controller.extend(EditorControllerMixin, {
actions: {
openDeleteModal: function () {
this.send('openModal', 'delete-post', this.get('model'));
}
}
});