mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 15:11:07 +02:00
* use alias for router injection * update @router declarations in engine files * fix remaining pki router imports * dynamically set router based on owner * address replication routers * update markdown docs * use non-deprecated import for getOwner * revert out of scope changes * add transition-to test
16 lines
355 B
JavaScript
16 lines
355 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 KubernetesRoute extends Route {
|
|
@service('app-router') router;
|
|
|
|
redirect() {
|
|
this.router.transitionTo('vault.cluster.secrets.backend.kubernetes.overview');
|
|
}
|
|
}
|