mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 09:55:21 +08:00
e5311ab645
* DEV: Discourse.Route -> DiscourseRoute with import * ran prettier on all routes * prettiered one more file
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
|
|
);
|
|
}
|
|
});
|