5 lines
151 B
Ruby
5 lines
151 B
Ruby
json.array!(@error_templates) do |error_template|
|
|
json.extract! error_template, :id
|
|
json.url error_template_url(error_template, format: :json)
|
|
end
|