Skip to content

Commit

Permalink
Merge pull request #4270 from emberjs/find-record-no-push
Browse files Browse the repository at this point in the history
Fix incorrect reference to `push` in the `findRecord` docs
  • Loading branch information
igorT committed Mar 28, 2016
2 parents 8400b9d + 7581c94 commit 9e9ecac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addon/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ export default Ember.Object.extend({
/**
The `findRecord()` method is invoked when the store is asked for a record that
has not previously been loaded. In response to `findRecord()` being called, you
should query your persistence layer for a record with the given ID. Once
found, you can asynchronously call the store's `push()` method to push
the record into the store.
should query your persistence layer for a record with the given ID. The `findRecord`
method should return a promise that will resolve to a JavaScript object that will be
normalized by the serializer.
Here is an example `findRecord` implementation:
Expand Down

0 comments on commit 9e9ecac

Please sign in to comment.