class HomeController < ApplicationController

    def index

    end

    def sfdata
      @geojson = HTTParty.get("https://data.sfgov.org/resource/qg52-sqku?$$app_token=Tfqfz8OmwAEF8YU3FYwmm2xaD")

      render json: {geojson: @geojson}
    end

end

class HomeController < ApplicationController

    def index

    end

    def sfdata
      @geojson = HTTParty.get("https://data.sfgov.org/resource/qg52-sqku?$$app_token=Tfqfz8OmwAEF8YU3FYwmm2xaD")

      render json: @geojson
    end

end

Change format of object sent from sever to frontend
Change format of object sent from sever to frontend
