mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-02-26 13:35:46 +00:00
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 { action } from "@ember/object";
|
||||
|
||||
export default DiscourseRoute.extend({
|
||||
actions: {
|
||||
moreSettings() {
|
||||
this.transitionTo("adminSiteSettingsCategory", "ad_plugin");
|
||||
},
|
||||
@action
|
||||
moreSettings() {
|
||||
this.transitionTo("adminSiteSettingsCategory", "ad_plugin");
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user