open-vault/ui/app/routes/vault/cluster/settings/index.js
Matthew Irish 966c7dbf02
UI - New navbar and mount icons everywhere (#778)
New look for the navbar and new functionality on mobile. Also includes new look for the mounts list and headers in secret engines.
2018-10-21 14:19:34 -05:00

11 lines
282 B
JavaScript

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