Chatwoot/app/views/api/v1/accounts/agent_bots/index.json.jbuilder

4 lines
147 B
Text
Raw Normal View History

2021-06-01 17:04:25 +00:00
json.array! @agent_bots do |agent_bot|
json.partial! 'api/v1/models/agent_bot', formats: [:json], resource: AgentBotPresenter.new(agent_bot)
2021-06-01 17:04:25 +00:00
end