fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560)
fixes the warning: Rendering actions with '.' in the name is deprecated
This commit is contained in:
committed by
GitHub
parent
cd4c1ef27e
commit
bd445216e9
@@ -14,7 +14,7 @@ json.last_activity_at resource.last_activity_at.to_i if resource[:last_activity_
|
||||
if defined?(with_contact_inboxes) && with_contact_inboxes.present?
|
||||
json.contact_inboxes do
|
||||
json.array! resource.contact_inboxes do |contact_inbox|
|
||||
json.partial! 'api/v1/models/contact_inbox.json.jbuilder', resource: contact_inbox
|
||||
json.partial! 'api/v1/models/contact_inbox', formats: [:json], resource: contact_inbox
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user