mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 06:13:47 +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");
|
|
}
|
|
}
|