mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Pass options through when using default serializer
This commit is contained in:
@@ -504,7 +504,7 @@ module ActiveModel
|
||||
end
|
||||
|
||||
def serializable_hash
|
||||
@object.as_json
|
||||
@object.as_json(@options)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user