I am trying to update a model on my Rails API, which I am successfully able to do with the following code :
<form action="http://localhost:3000/recoverable_units/" method="POST">
<br>
</form>
However, I am pretty sure this is not the "correct" or standard way to do this in Ember. Does anyone know of a better way to update my model on my Rails API backend? Maybe need a controller, etc?
Aucun commentaire:
Enregistrer un commentaire