open-vault/ui/lib/replication/addon/routes/index.js
Matthew Irish 0ccc8467ec
UI ember engines (#6718)
Adds replication engine and core in-repo addon
2019-05-13 14:05:25 -05:00

13 lines
287 B
JavaScript

import { inject as service } from '@ember/service';
import Route from '@ember/routing/route';
export default Route.extend({
replicationMode: service(),
beforeModel() {
this.get('replicationMode').setMode(null);
},
model() {
return this.modelFor('application');
},
});