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

11 lines
266 B
JavaScript
Raw Normal View History

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