mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
39967b02da
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
17 lines
316 B
JavaScript
17 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;
|