mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 09:44:34 +08:00
15 lines
315 B
JavaScript
15 lines
315 B
JavaScript
|
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");
|
||
|
}
|
||
|
}
|