Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #444 from sly7-7/patch-1

RESTAdapter: call this.didSaveRecord on didDeleteRecord
  • Loading branch information...
commit 77d3153c833f4034137e867cc44bbbcce557f239 2 parents 4c47535 + d0b3271
Yehuda Katz wycats authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  packages/ember-data/lib/adapters/rest_adapter.js
2  packages/ember-data/lib/adapters/rest_adapter.js
View
@@ -153,7 +153,7 @@ DS.RESTAdapter = DS.Adapter.extend({
didDeleteRecord: function(store, type, record, json) {
if (json) { this.sideload(store, type, json); }
- store.didSaveRecord(record);
+ this.didSaveRecord(store, record);
},
deleteRecords: function(store, type, records) {
Please sign in to comment.
Something went wrong with that request. Please try again.