Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makeFindOne example cache error: http://canjs.com/docs/can.Model.makeFindOne.html #471

Closed
norm-mp opened this issue Sep 10, 2013 · 1 comment
Labels
Milestone

Comments

@norm-mp
Copy link

norm-mp commented Sep 10, 2013

Since FindOne will only return an object, shouldn't this be return self.model(data) instead of return self.models(data)?

@justinbmeyer
Copy link
Contributor

yes, it should. Good catch. Can you submit a pull request to fix it?

@daffl daffl closed this as completed in 9dc4525 Sep 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants