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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
257 B
JavaScript
Raw Normal View History

import Route from "@ember/routing/route";
export default Route.extend({
model(params) {
return this.store.find("site-text", params.id);
},
setupController(controller, siteText) {
controller.setProperties({ siteText, saved: false });
2014-09-25 02:45:35 +08:00
},
});