mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 22:26:29 +08:00
11 lines
256 B
JavaScript
11 lines
256 B
JavaScript
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 });
|
|
}
|
|
});
|