mirror of https://github.com/rancher/ui.git
15 lines
349 B
JavaScript
15 lines
349 B
JavaScript
import { hash } from 'rsvp';
|
|
import { inject as service } from '@ember/service';
|
|
import Route from '@ember/routing/route';
|
|
|
|
export default Route.extend({
|
|
catalog: service(),
|
|
globalStore: service(),
|
|
|
|
model() {
|
|
return hash({ drivers: this.get('globalStore').findAll('nodeDriver'), }).then((hash) => {
|
|
return hash;
|
|
});
|
|
},
|
|
});
|