2023-02-08 14:21:39 -05:00
|
|
|
import Controller from "@ember/controller";
|
|
|
|
import { action } from "@ember/object";
|
2024-03-06 12:05:11 -05:00
|
|
|
import { service } from "@ember/service";
|
2023-02-08 14:21:39 -05:00
|
|
|
|
|
|
|
export default class AdminCustomizeFormTemplatesIndex extends Controller {
|
2023-07-18 15:53:23 -04:00
|
|
|
@service router;
|
|
|
|
|
2023-02-08 14:21:39 -05:00
|
|
|
@action
|
|
|
|
newTemplate() {
|
2023-07-18 15:53:23 -04:00
|
|
|
this.router.transitionTo("adminCustomizeFormTemplates.new");
|
2023-02-08 14:21:39 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@action
|
|
|
|
reload() {
|
|
|
|
this.send("reloadModel");
|
|
|
|
}
|
|
|
|
}
|