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

10 lines
195 B
Plaintext
Raw Normal View History

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