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
@@ -5,6 +5,6 @@ end
|
||||
|
||||
json.payload do
|
||||
json.array! @contacts do |contact|
|
||||
json.partial! 'api/v1/models/contact.json.jbuilder', resource: contact, with_contact_inboxes: true
|
||||
json.partial! 'api/v1/models/contact', formats: [:json], resource: contact, with_contact_inboxes: true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user