5 lines
113 B
Ruby
5 lines
113 B
Ruby
json.array!(@regions) do |region|
|
|
json.extract! region, :name
|
|
json.url region_url(region, format: :json)
|
|
end
|