2015-11-23 16:45:05 -05:00
|
|
|
export default Ember.Route.extend({
|
2015-08-07 14:05:08 -04:00
|
|
|
model(params) {
|
2015-11-23 16:45:05 -05:00
|
|
|
return this.store.find('site-text', params.id);
|
|
|
|
},
|
|
|
|
|
|
|
|
setupController(controller, siteText) {
|
|
|
|
controller.setProperties({ siteText, saved: false });
|
2014-09-24 14:45:35 -04:00
|
|
|
}
|
|
|
|
});
|