discourse/app/assets/javascripts/admin/routes/admin-customize-email-templ...

10 lines
195 B
JavaScript

export default Ember.Route.extend({
model() {
return this.store.findAll('email-template');
},
setupController(controller, model) {
controller.set('emailTemplates', model);
}
});