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

11 lines
256 B
Plaintext
Raw Normal View History

import Route from "@ember/routing/route";
export default Route.extend({
model(params) {
2018-06-15 23:03:24 +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
}
});