Backbone.Collection.remove removes a model from a collection in the front end. Is there a way to make the changes persist to the backend? ie. I want to do a DELETE request on the collection’s URL and pass in the model. How would I do that?
Backbone.Collection.remove removes a model from a collection in the front end. Is there a
Share
model.destroy();will remove the model from the collection and make aDELETErequest to the server.http://backbonejs.org/#Model-destroy