From e49dba3a64c88d0823371c32bcdf1610890a7024 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Thu, 30 Sep 2021 15:00:39 +0100 Subject: [PATCH] Rubocop --- app/controllers/case_logs_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/case_logs_controller.rb b/app/controllers/case_logs_controller.rb index 56919deda..aa6982ac2 100644 --- a/app/controllers/case_logs_controller.rb +++ b/app/controllers/case_logs_controller.rb @@ -1,5 +1,4 @@ class CaseLogsController < ApplicationController - def index @submitted_case_logs = CaseLog.where(status: 1) @in_progress_case_logs = CaseLog.where(status: 0) @@ -40,7 +39,7 @@ class CaseLogsController < ApplicationController end end - private +private def page_params(questions_for_page) params.permit(questions_for_page)