mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 18:58:34 +08:00
48193767bf
Automatically generated by `eslint --fix` to satisfy the updated configuration
14 lines
350 B
JavaScript
14 lines
350 B
JavaScript
import { inject as service } from "@ember/service";
|
|
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default class AdminWatchedWordsIndexRoute extends DiscourseRoute {
|
|
@service router;
|
|
|
|
beforeModel() {
|
|
this.router.replaceWith(
|
|
"adminWatchedWords.action",
|
|
this.modelFor("adminWatchedWords")[0].nameKey
|
|
);
|
|
}
|
|
}
|