Chatwoot/app/views/platform/api/v1/agent_bots/index.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

3 lines
142 B
Ruby

json.array! @resources do |resource|
json.partial! 'platform/api/v1/models/agent_bot', formats: [:json], resource: resource.permissible
end