open-vault/ui/app/routes/vault/cluster/secrets/backend/create.js

11 lines
290 B
JavaScript
Raw Normal View History

import Route from '@ember/routing/route';
2018-04-03 14:16:57 +00:00
export default Route.extend({
beforeModel(transition) {
let { secret } = this.paramsFor(this.routeName);
return this.transitionTo('vault.cluster.secrets.backend.create-root', {
queryParams: { initialKey: secret },
2018-04-03 14:16:57 +00:00
});
},
});