mirror of https://github.com/rancher/ui.git
15 lines
339 B
JavaScript
15 lines
339 B
JavaScript
import Route from '@ember/routing/route';
|
|
import { get } from '@ember/object';
|
|
import { hash } from 'rsvp';
|
|
|
|
export default Route.extend({
|
|
model(params) {
|
|
const store = get(this, 'store');
|
|
|
|
return hash({
|
|
virtualService: store.find('virtualservice', params.id),
|
|
gateways: store.find('gateway'),
|
|
});
|
|
},
|
|
});
|