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

11 lines
231 B
JavaScript

import Route from "@ember/routing/route";
import { service } from "@ember/service";
export default class AdminApiIndexRoute extends Route {
@service router;
beforeModel() {
this.router.transitionTo("adminApiKeys");
}
}