Fix a typo.

This commit is contained in:
Eric Bouchut 2014-02-20 12:56:36 +01:00
parent 2792210a88
commit 4eee8eed50

View File

@ -159,7 +159,7 @@ render json: @posts, each_serializer: FancyPostSerializer
## Render independently ## Render independently
By default the setting of serializer is in controller as described above which is the By default the setting of serializer is in controller as described above which is the
recommeneded way. However, there may be cases you need to render the json object elsewhere recommended way. However, there may be cases you need to render the json object elsewhere
say in a helper or a view when controller is only for main object. say in a helper or a view when controller is only for main object.
Then you can render the serialized JSON independently. Then you can render the serialized JSON independently.