discourse/app/assets/javascripts/admin/routes/admin-watched-words-index.js
2020-09-04 13:42:47 +02:00

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
);
},
});