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