arizonacollab/app/views/spaces/index.json.jbuilder
2013-10-08 22:10:03 -07:00

5 lines
173 B
Ruby

json.array!(@spaces) do |space|
json.extract! space, :name, :type, :address, :hours, :phone, :email, :website, :description
json.url space_url(space, format: :json)
end