Skip to content

Instantly share code, notes, and snippets.

@balinterdi balinterdi/route.js
Created Jun 20, 2016

What would you like to do?
Eager-fetch belongsTo relationships – does not work
model(params) {
return'person', params.person_id)
.then((person) => {
return {
friendships: person.get('friendships', { include: 'friender,friended' }),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.