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

10 lines
195 B
Plaintext
Raw Normal View History

export default Ember.Route.extend({
model() {
2018-06-15 23:03:24 +08:00
return this.store.findAll("email-template");
},
setupController(controller, model) {
2018-06-15 23:03:24 +08:00
controller.set("emailTemplates", model);
}
});