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