mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-21 04:52:54 -05:00
9 lines
220 B
JavaScript
9 lines
220 B
JavaScript
export default Ember.Route.extend({
|
|
model(params) {
|
|
return this.store.find('site-text', params.id);
|
|
},
|
|
|
|
setupController(controller, siteText) {
|
|
controller.setProperties({ siteText, saved: false });
|
|
}
|
|
});
|