mirror of https://github.com/rancher/ui.git
15 lines
341 B
JavaScript
15 lines
341 B
JavaScript
import Route from '@ember/routing/route';
|
|
import { hash } from 'rsvp'
|
|
import { get } from '@ember/object';
|
|
|
|
export default Route.extend({
|
|
model: function() {
|
|
const store = get(this, 'store');
|
|
|
|
return hash({
|
|
projectSecrets: store.findAll('secret'),
|
|
namespacedSecrets: store.findAll('namespacedSecret'),
|
|
});
|
|
},
|
|
});
|