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

Failed to ignore revisions in .git-blame-ignore-revs.

11 lines
231 B
JavaScript
Raw Normal View History

import Route from "@ember/routing/route";
export default Route.extend({
model() {
2018-06-15 11:03:24 -04:00
return this.store.findAll("email-template");
},
setupController(controller, model) {
2018-06-15 11:03:24 -04:00
controller.set("emailTemplates", model);
}
});