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