lundi 11 mai 2015

Ember custom model save

In my application I have a model post, it has properties user_likes and user_shares, a user can share and like a post of course...

a save action results in a PUT for /posts/:id with post as payload, but in my webserver shares and likes have different store strategies, and I need know what exactly has changed to save properly, how can I do it with ember?




Aucun commentaire:

Enregistrer un commentaire