mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Remove unused embed option
This commit is contained in:
parent
33f3a88ba0
commit
294d06624f
@ -124,7 +124,7 @@ module ActiveModel
|
||||
add_link(attrs, name, association)
|
||||
end
|
||||
|
||||
if @options[:embed] != :ids && options[:add_included]
|
||||
if options[:add_included]
|
||||
Array(association).each do |association|
|
||||
add_included(name, association)
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user