i'm fetching data in JSON API
format with the Ember Data
and JSONAPIAdapter
on my Route
- this is working fine
// ok
/posts/1
this.store.findRecord('posts', params.post_id);
i'm now trying to load included data using ds-finder-include
, the data is getting fetched, but isn't reflecting in the .hbs
// not working
/posts/1/comments
this.store.findRecord('posts', params.post_id, { include: 'comments' });
hbs:
comment:
Aucun commentaire:
Enregistrer un commentaire