Files
threshold-ui/ui/admin/app/routes/index.js
T

22 lines
400 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2020-07-24 19:12:20 -04:00
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
2020-07-24 19:12:20 -04:00
export default class IndexRoute extends Route {
// =services
@service router;
2020-07-24 19:12:20 -04:00
// =methods
/**
* Redirects to scopes route for further processing.
*/
redirect() {
this.router.transitionTo('scopes');
2020-07-24 19:12:20 -04:00
}
}