arizonacollab/app/views/spaces/index.json.jbuilder

5 lines
204 B
Plaintext
Raw Normal View History

2013-10-09 05:10:03 +00:00
json.array!(@spaces) do |space|
2013-10-09 12:14:30 +00:00
json.extract! space, :name, :category, :address, :city, :state, :hours, :phone, :email, :website, :description, :dot_color
2013-10-09 05:10:03 +00:00
json.url space_url(space, format: :json)
end