open-vault/ui/lib/kubernetes/addon/routes/index.js

16 lines
350 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
export default class KubernetesRoute extends Route {
@service router;
redirect() {
this.router.transitionTo('vault.cluster.secrets.backend.kubernetes.overview');
}
}