Skip to content

Commit

Permalink
Merge pull request #3739 from kagemusha/patch-1
Browse files Browse the repository at this point in the history
store example should use findRecord()
  • Loading branch information
wecc committed Sep 9, 2015
2 parents dae800c + 79dbc08 commit 61d7f42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember-data/lib/system/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ if (!Service) {
automatically created by their `Ember.Application`.
You can retrieve models from the store in several ways. To retrieve a record
for a specific id, use `DS.Store`'s `find()` method:
for a specific id, use `DS.Store`'s `findRecord()` method:
```javascript
store.find('person', 123).then(function (person) {
store.findRecord('person', 123).then(function (person) {
});
```
Expand Down

0 comments on commit 61d7f42

Please sign in to comment.