Is this possible? I know I can do:
this.store.find('model', 1)
but that's not what I want. I would like to retrieve the json in this format:
{
"options": {
"id": "1",
"headline": "A headline",
"results": [
{
"id": "1",
"title": "option 1",
},
{
"id": "2",
"title": "option 2",
}
]
}
}
I have not found an answer to this in the Ember-docs. Any input on this matter is appreciated!
Aucun commentaire:
Enregistrer un commentaire