discourse/app/assets/javascripts/admin/routes/admin-dashboard-next.js.es6

9 lines
203 B
Plaintext
Raw Normal View History

import { scrollTop } from "discourse/mixins/scroll-top";
export default Discourse.Route.extend({
activate() {
2018-06-15 23:03:24 +08:00
this.controllerFor("admin-dashboard-next").fetchDashboard();
scrollTop();
}
});