Skip to content

Commit

Permalink
store example should use findRecord not of find
Browse files Browse the repository at this point in the history
  • Loading branch information
kagemusha committed Sep 9, 2015
1 parent dae800c commit 79dbc08
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 79dbc08

Please sign in to comment.