mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 21:34:16 +08:00
cbfd596b1b
and call super instead of manually setting model
9 lines
260 B
JavaScript
9 lines
260 B
JavaScript
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);
|
|
}
|
|
}
|