Update README.md

Fixed typo in documentation about the number of options to disable the root element for arrays
This commit is contained in:
Silvio Relli 2013-05-02 16:27:06 +03:00
parent 329a38a7dd
commit 9ca71c2443

View File

@ -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 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: #### 1. Disable root globally for in `ArraySerializer`. In an initializer: