arizonacollab/app/views/spaces/index.json.jbuilder
2013-10-09 05:14:30 -07:00

5 lines
204 B
Ruby

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