Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Feb 1, 2024
1 parent a9c7033 commit e3521de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/problems_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3521de

Please sign in to comment.