mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Fix a typo.
This commit is contained in:
parent
2792210a88
commit
4eee8eed50
@ -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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user