discourse/app/assets/javascripts/admin/addon/routes/admin-reports-index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
269 B
JavaScript
Raw Normal View History

import { service } from "@ember/service";
import DiscourseRoute from "discourse/routes/discourse";
export default class AdminReportsIndexRoute extends DiscourseRoute {
@service router;
beforeModel() {
this.router.transitionTo("admin.dashboardReports");
}
}