discourse/app/assets/javascripts/admin/addon/controllers/admin-customize-form-templates-index.js

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

15 lines
315 B
JavaScript
Raw Normal View History

2023-02-09 03:21:39 +08:00
import Controller from "@ember/controller";
import { action } from "@ember/object";
export default class AdminCustomizeFormTemplatesIndex extends Controller {
@action
newTemplate() {
this.transitionToRoute("adminCustomizeFormTemplates.new");
}
@action
reload() {
this.send("reloadModel");
}
}