update README.

This commit is contained in:
Siong 2014-11-20 13:29:41 -08:00
parent a2578f893d
commit 28de380fc2

View file

@ -109,6 +109,16 @@ get "/homes"
end
```
### Support for `default_serializer_options`
```ruby
helper do
def default_serializer_options
{only: params[:only], except: params[:except]}
end
end
```
### current_user
One of the nice features of ActiveModel::Serializers is that it