bd445216e9
fixes the warning: Rendering actions with '.' in the name is deprecated
3 lines
127 B
Ruby
3 lines
127 B
Ruby
json.agent_bot do
|
|
json.partial! 'api/v1/models/agent_bot', formats: [:json], resource: @agent_bot if @agent_bot.present?
|
|
end
|