json.array!(@gets) do |get| json.extract! get, :id, :home json.url get_url(get, format: :json) end