discourse/app/assets/javascripts/admin/addon/controllers/admin-customize-form-templates-index.js
2024-03-06 18:05:11 +01:00

18 lines
379 B
JavaScript

import Controller from "@ember/controller";
import { action } from "@ember/object";
import { service } from "@ember/service";
export default class AdminCustomizeFormTemplatesIndex extends Controller {
@service router;
@action
newTemplate() {
this.router.transitionTo("adminCustomizeFormTemplates.new");
}
@action
reload() {
this.send("reloadModel");
}
}