diff --git a/README.md b/README.md index 6ae5b27..30b9ddf 100644 --- a/README.md +++ b/README.md @@ -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