bd445216e9
fixes the warning: Rendering actions with '.' in the name is deprecated
5 lines
209 B
Ruby
5 lines
209 B
Ruby
json.payload do
|
|
json.array! @automation_rules do |automation_rule|
|
|
json.partial! 'api/v1/accounts/automation_rules/partials/automation_rule', formats: [:json], automation_rule: automation_rule
|
|
end
|
|
end
|