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