Skip to content

Commit

Permalink
Correct the adapter.serialize doc with DS.Snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
rague committed Mar 31, 2015
1 parent ca9df41 commit 3b050ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember-data/lib/system/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ var Adapter = Ember.Object.extend({
```
@method serialize
@param {DS.Model} record
@param {DS.Snapshot} snapshot
@param {Object} options
@return {Object} serialized record
@return {Object} serialized snapshot
*/
serialize: function(snapshot, options) {
return get(snapshot.record, 'store').serializerFor(snapshot.typeKey).serialize(snapshot, options);
Expand Down

0 comments on commit 3b050ca

Please sign in to comment.