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

8 lines
188 B
JavaScript

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