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
279 B
JavaScript
Raw Normal View History

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