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

9 lines
181 B
JavaScript

export default Discourse.Route.extend({
beforeModel() {
this.replaceWith(
"adminWatchedWords.action",
this.modelFor("adminWatchedWords")[0].nameKey
);
}
});