staugaard / ember-resource

This project has moved. The canonical repository is now located at: https://github.com/zendesk/ember-resource
https://github.com/zendesk/ember-resource
Apache License 2.0
122 stars 27 forks source link

Add in missing resource on destroy #32

Closed aghassipour closed 12 years ago

aghassipour commented 12 years ago

When saving a resource, the resource model is passed up to the error handler. This commit ensures the resource model is passed to the error handler on destroy as well.

staugaard commented 12 years ago

awesome, thanks.