DEV: migrate routes to the new @action pattern (#126)
This commit is contained in:
parent
0d8e33c661
commit
62a4eff705
|
@ -1,9 +1,9 @@
|
||||||
import DiscourseRoute from "discourse/routes/discourse";
|
import DiscourseRoute from "discourse/routes/discourse";
|
||||||
|
import { action } from "@ember/object";
|
||||||
|
|
||||||
export default DiscourseRoute.extend({
|
export default DiscourseRoute.extend({
|
||||||
actions: {
|
@action
|
||||||
moreSettings() {
|
moreSettings() {
|
||||||
this.transitionTo("adminSiteSettingsCategory", "ad_plugin");
|
this.transitionTo("adminSiteSettingsCategory", "ad_plugin");
|
||||||
},
|
},
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue