discourse/app/assets/javascripts/admin/routes/admin-email-rejected.js.es6

15 lines
358 B
Plaintext
Raw Normal View History

2016-04-01 05:33:25 +08:00
import showModal from 'discourse/lib/show-modal';
import AdminEmailIncomings from 'admin/routes/admin-email-incomings';
export default AdminEmailIncomings.extend({
status: "rejected",
actions: {
showIncomingEmail(id) {
showModal('modals/admin-incoming-email');
this.controllerFor("modals/admin-incoming-email").load(id);
}
}
});