2019-10-23 12:39:32 -04:00
|
|
|
import Route from "@ember/routing/route";
|
|
|
|
export default Route.extend({
|
2015-08-07 14:05:08 -04:00
|
|
|
model(params) {
|
2018-06-15 11:03:24 -04:00
|
|
|
return this.store.find("site-text", params.id);
|
2015-11-23 16:45:05 -05:00
|
|
|
},
|
|
|
|
|
|
|
|
setupController(controller, siteText) {
|
|
|
|
controller.setProperties({ siteText, saved: false });
|
2014-09-24 14:45:35 -04:00
|
|
|
}
|
|
|
|
});
|