open-vault/ui/app/routes/vault/cluster/cluster-route-base.js
2018-04-03 09:16:57 -05:00

16 lines
382 B
JavaScript

// this is the base route for
// all of the CLUSTER_ROUTES that are states before you can use vault
//
import Ember from 'ember';
import ClusterRoute from 'vault/mixins/cluster-route';
export default Ember.Route.extend(ClusterRoute, {
model() {
return this.modelFor('vault.cluster');
},
resetController(controller) {
controller.reset && controller.reset();
},
});