jeudi 5 mars 2015

How do you call non RESTful resources?

In Rails (my API) we can define a collection route (http://ift.tt/GVpneB) on a resource. Lets say I have a route that looks like /users/summary.


How do I call this endpoint in Ember?


Was looking at http://ift.tt/1m2yTAR and don't see anything relevant.


At this point, I am guessing I would need to do Ember.$.ajax. Or is there a way to call the endpoint via Ember Data?





Aucun commentaire:

Enregistrer un commentaire