Skip to content

Comments

Added class function find, to allow finding models by primary key#21

Open
williamcoates wants to merge 2 commits intostaugaard:masterfrom
williamcoates:master
Open

Added class function find, to allow finding models by primary key#21
williamcoates wants to merge 2 commits intostaugaard:masterfrom
williamcoates:master

Conversation

@williamcoates
Copy link

In our application we really need to grab particular objects by primary key, now you can achieve this via App.Model.find(id)

@digitaltoad
Copy link

Although this is old, adding this makes ember-resource compatibile with the ember 1.0 routing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants