From ceb3393eaf9165c94f7623829c9cbd6af8ac3885 Mon Sep 17 00:00:00 2001 From: Bohdan Date: Fri, 29 Nov 2024 15:52:35 +0200 Subject: [PATCH] fixed rubocop offenses --- app/controllers/calculators_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/calculators_controller.rb b/app/controllers/calculators_controller.rb index 78753bfa2..02b7c5a7b 100644 --- a/app/controllers/calculators_controller.rb +++ b/app/controllers/calculators_controller.rb @@ -22,7 +22,7 @@ def calculate @results = Calculators::CalculationService.new(@calculator, params[:inputs]).perform - session[:calculation_results] ||= {} + session[:calculation_results] ||= {} session[:calculation_results][@calculator.slug] = @results respond_to :turbo_stream