From e3521deaff94fb749d4c477c56a63130a238007c Mon Sep 17 00:00:00 2001 From: James Smith Date: Thu, 1 Feb 2024 17:01:00 +0000 Subject: [PATCH] formatting --- app/controllers/problems_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/problems_controller.rb b/app/controllers/problems_controller.rb index f96b113ce..c7f1582bc 100644 --- a/app/controllers/problems_controller.rb +++ b/app/controllers/problems_controller.rb @@ -23,7 +23,7 @@ def index query = query.visible(current_user.problem_settings) @problems = query.page(page).per(50).order([:category, :problematic_type]) # Do we have any filters at all? - @filters_applied = [:show_ignored, :severity, :category, :type].any?{|k| params.has_key?(k)} + @filters_applied = [:show_ignored, :severity, :category, :type].any? { |k| params.has_key?(k) } end def update