2019-10-24 00:39:32 +08:00
|
|
|
import Route from "@ember/routing/route";
|
|
|
|
export default Route.extend({
|
2015-11-13 05:08:19 +08:00
|
|
|
model() {
|
|
|
|
return this.store.findAll("email-template");
|
|
|
|
},
|
|
|
|
|
|
|
|
setupController(controller, model) {
|
|
|
|
controller.set("emailTemplates", model);
|
|
|
|
}
|
|
|
|
});
|