Initial commit
This commit is contained in:
4
app/views/spaces/index.json.jbuilder
Normal file
4
app/views/spaces/index.json.jbuilder
Normal file
@@ -0,0 +1,4 @@
|
||||
json.array!(@spaces) do |space|
|
||||
json.extract! space, :name, :type, :address, :hours, :phone, :email, :website, :description
|
||||
json.url space_url(space, format: :json)
|
||||
end
|
||||
Reference in New Issue
Block a user