discourse/app/assets/javascripts/admin/routes/admin-watched-words-index.js
2020-03-13 17:03:08 -04:00

11 lines
238 B
JavaScript

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