samedi 25 avril 2015

How do I add one extra non-rest url in my rest adaptor in ember js?

I have a model called post.

Apart from the restful apis, I have a non restful api POST /posts/{post-id}/reschedule.

How do I define and use the method for this custom api in my rest-adaptor?

I would want to call myPostObj.reschedule(someParams).




Aucun commentaire:

Enregistrer un commentaire