open-vault/ui/app/routes/vault/cluster/cluster-route-base.js

16 lines
391 B
JavaScript
Raw Normal View History

2018-04-03 14:16:57 +00:00
// this is the base route for
// all of the CLUSTER_ROUTES that are states before you can use vault
//
import Route from '@ember/routing/route';
2018-04-03 14:16:57 +00:00
import ClusterRoute from 'vault/mixins/cluster-route';
export default Route.extend(ClusterRoute, {
2018-04-03 14:16:57 +00:00
model() {
return this.modelFor('vault.cluster');
},
resetController(controller) {
controller.reset && controller.reset();
},
});