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

5 lines
113 B
Plaintext
Raw Normal View History

2013-12-03 21:56:20 +01:00
json.array!(@regions) do |region|
json.extract! region, :name
json.url region_url(region, format: :json)
end