mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +08:00
10 lines
220 B
JavaScript
10 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 });
|
|
}
|
|
});
|