Skip to content

Commit

Permalink
fixed rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
SleekMutt committed Nov 29, 2024
1 parent 02d9977 commit ceb3393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/calculators_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 26 in app/controllers/calculators_controller.rb

View check run for this annotation

Codecov / codecov/patch

app/controllers/calculators_controller.rb#L25-L26

Added lines #L25 - L26 were not covered by tests

respond_to :turbo_stream
Expand Down

0 comments on commit ceb3393

Please sign in to comment.