agenda-libre-ruby/app/views/regions/index.json.jbuilder

4 lines
92 B
Plaintext
Raw Normal View History

json.array!(@regions) do |region|
json.extract! region, :id, :region_id, :name, :code
end