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

11 lines
239 B
JavaScript

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