mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Fix failing test: option format_key with root option
This commit is contained in:
@@ -126,7 +126,7 @@ end
|
||||
root
|
||||
end
|
||||
|
||||
key_format == :lower_camel ? key.camelize(:lower) : key
|
||||
key_format == :lower_camel && key.present? ? key.camelize(:lower) : key
|
||||
end
|
||||
|
||||
def attributes
|
||||
|
||||
Reference in New Issue
Block a user