Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed typo in documentation about the number of options to disable the root element for arrays
  • Loading branch information
silviorelli committed May 2, 2013
1 parent 329a38a commit 9ca71c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ render :json => @posts, :root => "some_posts"
```

You may disable the root element for arrays at the top level, which will result in
more concise json. To disable the root element for arrays, you have 3 options:
more concise json. To disable the root element for arrays, you have 4 options:

#### 1. Disable root globally for in `ArraySerializer`. In an initializer:

Expand Down

0 comments on commit 9ca71c2

Please sign in to comment.