mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 02:43:39 +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");
|
|
}
|
|
}
|