discourse/app/assets/javascripts/admin/routes/admin-site-text-edit.js.es6
2018-06-15 17:03:24 +02:00

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 });
}
});