discourse/app/assets/javascripts/admin/routes/admin-site-text-edit.js.es6

10 lines
220 B
Plaintext
Raw Normal View History

2016-04-01 05:33:25 +08:00
export default Ember.Route.extend({
model(params) {
2016-04-01 05:33:25 +08:00
return this.store.find('site-text', params.id);
},
setupController(controller, siteText) {
controller.setProperties({ siteText, saved: false });
2014-09-25 02:45:35 +08:00
}
});