discourse/app/assets/javascripts/admin/addon/routes/admin-users-index.js
2024-03-06 18:05:11 +01:00

11 lines
256 B
JavaScript

import { service } from "@ember/service";
import DiscourseRoute from "discourse/routes/discourse";
export default class AdminUsersIndexRoute extends DiscourseRoute {
@service router;
redirect() {
this.router.transitionTo("adminUsersList");
}
}