In ember , I have a model called "Post" . If i perform
record.save()
on creating a post , by default it posts to my /post url in Rails(backend). This works in my case. But for future uses, how do i specify a custom route? Let's say I want to post this model to my backend to a route called
"/post/save" .
How do i make record.save() in ember to go to this route?
Aucun commentaire:
Enregistrer un commentaire