bd445216e9
fixes the warning: Rendering actions with '.' in the name is deprecated
3 lines
108 B
Ruby
3 lines
108 B
Ruby
json.array! @agents do |agent|
|
|
json.partial! 'api/v1/models/agent', formats: [:json], resource: agent
|
|
end
|