mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
removing unseless root method
This commit is contained in:
@@ -87,7 +87,7 @@ module ActiveModel
|
||||
end
|
||||
|
||||
def include_meta(json)
|
||||
json[meta_key] = meta if meta && root
|
||||
json[meta_key] = meta if meta
|
||||
json
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user