mirror of
https://github.com/samsonjs/grape-active_model_serializers.git
synced 2026-03-25 08:45:55 +00:00
fix typo on README. fix #34.
This commit is contained in:
parent
c48d3ed07c
commit
7f243c017d
1 changed files with 4 additions and 4 deletions
|
|
@ -112,11 +112,11 @@ end
|
|||
### Support for `default_serializer_options`
|
||||
|
||||
```ruby
|
||||
helper do
|
||||
def default_serializer_options
|
||||
{only: params[:only], except: params[:except]}
|
||||
end
|
||||
helpers do
|
||||
def default_serializer_options
|
||||
{only: params[:only], except: params[:except]}
|
||||
end
|
||||
end
|
||||
```
|
||||
|
||||
### current_user
|
||||
|
|
|
|||
Loading…
Reference in a new issue