mirror of
https://github.com/discourse/discourse.git
synced 2024-12-06 03:33:49 +08:00
18 lines
379 B
JavaScript
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");
|
|
}
|
|
}
|