mirror of
https://github.com/discourse/discourse.git
synced 2024-12-10 03:43:43 +08:00
48193767bf
Automatically generated by `eslint --fix` to satisfy the updated configuration
19 lines
418 B
JavaScript
19 lines
418 B
JavaScript
import { action } from "@ember/object";
|
|
import DiscourseRoute from "discourse/routes/discourse";
|
|
import FormTemplate from "admin/models/form-template";
|
|
|
|
export default class AdminCustomizeFormTemplatesIndex extends DiscourseRoute {
|
|
model() {
|
|
return FormTemplate.findAll();
|
|
}
|
|
|
|
setupController(controller, model) {
|
|
controller.set("model", model);
|
|
}
|
|
|
|
@action
|
|
reloadModel() {
|
|
this.refresh();
|
|
}
|
|
}
|