open-vault/ui/app/routes/vault/cluster/cluster-route-base.js
Matthew Irish d509588cd2
Ember update (#5386)
Ember update - update ember-cli, ember-data, and ember to 3.4 series
2018-09-25 11:28:26 -05:00

16 lines
391 B
JavaScript

// 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';
import ClusterRoute from 'vault/mixins/cluster-route';
export default Route.extend(ClusterRoute, {
model() {
return this.modelFor('vault.cluster');
},
resetController(controller) {
controller.reset && controller.reset();
},
});