Chatwoot/app/views/api/v1/accounts/inboxes/index.json.jbuilder
2020-07-21 12:15:24 +05:30

5 lines
131 B
Ruby

json.payload do
json.array! @inboxes do |inbox|
json.partial! 'api/v1/models/inbox.json.jbuilder', resource: inbox
end
end