mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 00:43:43 +08:00
1561e51a13
This reverts commit 33db93c9b2
.
11 lines
271 B
JavaScript
11 lines
271 B
JavaScript
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default class AdminWatchedWordsIndexRoute extends DiscourseRoute {
|
|
beforeModel() {
|
|
this.replaceWith(
|
|
"adminWatchedWords.action",
|
|
this.modelFor("adminWatchedWords")[0].nameKey
|
|
);
|
|
}
|
|
}
|