Skip to content

Commit

Permalink
Merge pull request #3481 from philipp-spiess/patch-1
Browse files Browse the repository at this point in the history
update errors.js docs to mirror new json api error specs
  • Loading branch information
bmac committed Jul 2, 2015
2 parents cf428d4 + d5470ee commit acee775
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/ember-data/lib/system/model/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ import {
```javascript
{
"username": ["This username is already taken!"],
"email": ["Doesn't look like a valid email."]
"errors": {
"username": ["This username is already taken!"],
"email": ["Doesn't look like a valid email."]
}
}
```
Expand Down

0 comments on commit acee775

Please sign in to comment.