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

10 lines
195 B
Plaintext
Raw Normal View History

2016-04-01 05:33:25 +08:00
export default Ember.Route.extend({
model() {
return this.store.findAll('email-template');
},
setupController(controller, model) {
controller.set('emailTemplates', model);
}
});