mirror of https://github.com/rancher/ui.git
16 lines
433 B
JavaScript
16 lines
433 B
JavaScript
import { hash } from 'rsvp';
|
|
import { get } from '@ember/object';
|
|
import Route from '@ember/routing/route';
|
|
|
|
export default Route.extend({
|
|
model(params) {
|
|
const store = get(this, 'store');
|
|
|
|
return hash({
|
|
ingress: store.find('ingress', params.ingress_id),
|
|
certificates: store.findAll('certificate'),
|
|
namespacedCertificates: store.findAll('namespacedcertificate'),
|
|
});
|
|
},
|
|
});
|