mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-22 11:11:26 +01: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
341 B
JavaScript
16 lines
341 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 PkiRoute extends Route {
|
|
@service('app-router') router;
|
|
|
|
redirect() {
|
|
this.router.transitionTo('vault.cluster.secrets.backend.pki.overview');
|
|
}
|
|
}
|