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

7 lines
223 B
Plaintext
Raw Normal View History

json.array!(@orgas) do |orga|
json.extract! orga, :id, :name, :description,
:place_name, :address, :city, :region_id, :url,
:contact, :tag_list
json.url orga_url(orga, format: :json)
end