I am trying to figure out how to get data from a custom api. I am using Ember 1.8.1, Ember Data 1.0.0-beta.12 and Ember CLI
In my router i have the following resource this.resource("communities", {path: '/communities/:community-id/follow-ups'}, function() {});
I have my model defined for the correct response. In my communities router I am trying to get the data from the api like so this.store.find('community', params['community-id']);
The problem I am having is that I am trying to retrive from the endpoint /communities/{community-id}/follow-ups But the app is trying to grab the data from /communities/{community-id}
How do I define the custom resource route to pull from the follow-ups
Aucun commentaire:
Enregistrer un commentaire