mirror of
https://github.com/samsonjs/grape-active_model_serializers.git
synced 2026-04-27 14:57:43 +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`
|
### Support for `default_serializer_options`
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
helper do
|
helpers do
|
||||||
def default_serializer_options
|
def default_serializer_options
|
||||||
{only: params[:only], except: params[:except]}
|
{only: params[:only], except: params[:except]}
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
### current_user
|
### current_user
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue