discourse/app/assets/javascripts/admin/addon/routes/admin-customize-form-templates-index.js
David Taylor 48193767bf DEV: Sort imports
Automatically generated by `eslint --fix` to satisfy the updated configuration
2023-10-10 21:46:54 +01:00

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();
}
}