Fixing README.md

This commit is contained in:
Attila Domokos 2013-03-13 20:53:20 -04:00
parent ad886495a1
commit 5f9209e619

View File

@ -181,7 +181,7 @@ render :json => @posts, :each_serializer => FancyPostSerializer
If you define `default_serializer_options` method in your controller, If you define `default_serializer_options` method in your controller,
all serializers in actions of this controller and it's children will use them. all serializers in actions of this controller and it's children will use them.
One of options may be `root: false` One of the options may be `root: false`
```ruby ```ruby
def default_serializer_options def default_serializer_options