From f1d8eb623ad7972c558ac2558df4f296ad3a92f3 Mon Sep 17 00:00:00 2001 From: jacobtoddmathes Date: Tue, 9 Apr 2024 17:07:32 -0500 Subject: [PATCH] removing logs --- rails_root/app/controllers/home_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/rails_root/app/controllers/home_controller.rb b/rails_root/app/controllers/home_controller.rb index 4ace803..997387c 100644 --- a/rails_root/app/controllers/home_controller.rb +++ b/rails_root/app/controllers/home_controller.rb @@ -3,11 +3,9 @@ # Controller for the home page class HomeController < ApplicationController def index - # @survey_responses = SurveyResponse.where(profile_id: 2) # FIXME: use code below when other part works return if session[:userinfo].nil? @survey_profile = SurveyProfile.find_by(user_id: session[:userinfo]['sub']) - puts session[:userinfo]['sub'].to_json return if @survey_profile.nil? @survey_responses = SurveyResponse.where(profile_id: @survey_profile.id)