Ghost/ghost/admin/controllers/modals/upload.js
Jason Williams 5ecc74e87a Enable post deletion from Ember admin
Closes #2849
-wire up delete post action in ember admin
-refactor ember modal dialog
-override RESTAdapter.deleteRecord to workaround Ember expecting
 an empty response body on DELETEs
2014-06-04 13:19:57 +00:00

18 lines
316 B
JavaScript

var UploadController = Ember.Controller.extend({
actions: {
confirmReject: function () {
return true;
}
},
confirm: {
reject: {
buttonClass: true,
text: 'Cancel' // The reject button text
}
}
});
export default UploadController;