mirror of
https://github.com/discourse/discourse.git
synced 2024-12-22 20:43:50 +08:00
48193767bf
Automatically generated by `eslint --fix` to satisfy the updated configuration
11 lines
338 B
JavaScript
11 lines
338 B
JavaScript
import { scrollTop } from "discourse/mixins/scroll-top";
|
|
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default class AdminDashboardRoute extends DiscourseRoute {
|
|
activate() {
|
|
this.controllerFor("admin-dashboard").fetchProblems();
|
|
this.controllerFor("admin-dashboard").fetchDashboard();
|
|
scrollTop();
|
|
}
|
|
}
|