4635e5bb44
`inboxes/id/assignable_agents` returns all users that have permission to a conversation happening in that inbox.
5 lines
141 B
Ruby
5 lines
141 B
Ruby
json.payload do
|
|
json.array! @assignable_agents do |agent|
|
|
json.partial! 'api/v1/models/agent.json.jbuilder', resource: agent
|
|
end
|
|
end
|