Browse Source

Rubocop

pull/33/head
baarkerlounger 3 years ago
parent
commit
e49dba3a64
  1. 3
      app/controllers/case_logs_controller.rb

3
app/controllers/case_logs_controller.rb

@ -1,5 +1,4 @@
class CaseLogsController < ApplicationController class CaseLogsController < ApplicationController
def index def index
@submitted_case_logs = CaseLog.where(status: 1) @submitted_case_logs = CaseLog.where(status: 1)
@in_progress_case_logs = CaseLog.where(status: 0) @in_progress_case_logs = CaseLog.where(status: 0)
@ -40,7 +39,7 @@ class CaseLogsController < ApplicationController
end end
end end
private private
def page_params(questions_for_page) def page_params(questions_for_page)
params.permit(questions_for_page) params.permit(questions_for_page)

Loading…
Cancel
Save