Chatwoot/app/views/api/v1/accounts/inboxes/assignable_agents.json.jbuilder
Geophilus Durairaj bd445216e9
fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560)
fixes the warning: Rendering actions with '.' in the name is deprecated
2022-10-05 17:24:34 -07:00

5 lines
145 B
Ruby

json.payload do
json.array! @assignable_agents do |agent|
json.partial! 'api/v1/models/agent', formats: [:json], resource: agent
end
end