discourse/app/assets/javascripts/admin/addon/routes/admin-watched-words-index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
271 B
JavaScript
Raw Normal View History

import DiscourseRoute from "discourse/routes/discourse";
export default class AdminWatchedWordsIndexRoute extends DiscourseRoute {
beforeModel() {
this.replaceWith(
"adminWatchedWords.action",
this.modelFor("adminWatchedWords")[0].nameKey
);
}
}