5 lines
204 B
Ruby
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
|