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