mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 19:15:04 +08:00
11 lines
238 B
JavaScript
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
|
|
);
|
|
}
|
|
});
|