mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 22:28:34 +08:00
11 lines
231 B
JavaScript
11 lines
231 B
JavaScript
import Route from "@ember/routing/route";
|
|
export default Route.extend({
|
|
model() {
|
|
return this.store.findAll("email-template");
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.set("emailTemplates", model);
|
|
}
|
|
});
|