Skip to content

Commit

Permalink
Fix rubocop violations
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBAshton committed Feb 4, 2025
1 parent f8db875 commit fc66ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/fact_check_requests_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def enforce_permissions!
def mailer_url_options
options = { host: request.host }
options[:protocol] = request.protocol unless request.protocol == "http://"
options[:port] = request.port unless request.port == 80 || request.port == 443
options[:port] = request.port unless [80, 443].include?(request.port)
options
end

Expand Down

0 comments on commit fc66ebc

Please sign in to comment.