Files
threshold-ui/ui/admin/app/routes/index.js
T
2025-03-12 08:29:54 -07:00

23 lines
391 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import Route from '@ember/routing/route';
import { service } from '@ember/service';
export default class IndexRoute extends Route {
// =services
@service router;
// =methods
/**
* Redirects to scopes route for further processing.
*/
redirect() {
this.router.transitionTo('scopes');
}
}