discourse/app/assets/javascripts/admin/addon/routes/admin-customize-form-templa...

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

13 lines
340 B
JavaScript
Raw Normal View History

2023-02-08 14:21:39 -05:00
import DiscourseRoute from "discourse/routes/discourse";
import FormTemplate from "admin/models/form-template";
export default class AdminCustomizeFormTemplatesEdit extends DiscourseRoute {
model(params) {
return FormTemplate.findById(params.id);
}
setupController(controller, model) {
controller.set("model", model);
}
}