def index
      @reports = Report.all
  
      respond_to do |format|
        format.html # index.html.erb
        format.json { render json: @reports }
      end
    end
def index
      @reports = Report.all
  
      respond_to do |format|
        format.html # index.html.erb
        format.json { render json: @reports }
      end
    end
GET /reports
 GET /reports.json