mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
feac9682d0
- Refactor to handle deprecations including removal of all Views, ArrayControllers, and ItemControllers.
11 lines
309 B
JavaScript
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'));
|
|
}
|
|
}
|
|
});
|