open-vault/ui/app/routes/vault/cluster/settings/index.js

11 lines
282 B
JavaScript
Raw Normal View History

import Route from '@ember/routing/route';
2018-04-03 14:16:57 +00:00
export default Route.extend({
2018-04-03 14:16:57 +00:00
beforeModel: function(transition) {
if (transition.targetName === this.routeName) {
transition.abort();
return this.replaceWith('vault.cluster.settings.mount-secret-backend');
2018-04-03 14:16:57 +00:00
}
},
});