mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:36:18 +08:00
11 lines
231 B
JavaScript
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");
|
|
}
|
|
}
|