discourse/app/assets/javascripts/admin/addon/routes/admin-dashboard-general.js

8 lines
189 B
JavaScript

import DiscourseRoute from "discourse/routes/discourse";
export default DiscourseRoute.extend({
activate() {
this.controllerFor("admin-dashboard-general").fetchDashboard();
},
});