ENH: Collection attachments (#51)
This commit is contained in:
parent
d014fc099c
commit
4903a204e4
14 changed files with 217 additions and 16 deletions
|
@ -5,7 +5,9 @@ const { Route, RSVP } = Ember;
|
|||
export default Route.extend({
|
||||
model(params) {
|
||||
return RSVP.all([
|
||||
this.get('store').findRecord('collection', params.collection_id)
|
||||
this.get('store').findRecord('collection', params.collection_id, {
|
||||
include: 'collection-species,datasheets',
|
||||
})
|
||||
]);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue