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

Failed to ignore revisions in .git-blame-ignore-revs.

11 lines
256 B
JavaScript
Raw Normal View History

import Route from "@ember/routing/route";
export default Route.extend({
model(params) {
2018-06-15 11:03:24 -04:00
return this.store.find("site-text", params.id);
},
setupController(controller, siteText) {
controller.setProperties({ siteText, saved: false });
2014-09-24 14:45:35 -04:00
}
});