Commit 8cb82484 authored by Jarka Košanová's avatar Jarka Košanová

Merge branch 'pl-rubocop-link-send-with-mixin-argument' into 'master'

Fix Rubocop TODO for Lint/SendWithMixinArgument

See merge request gitlab-org/gitlab!50836
parents 222d6ec8 dddbf58b
......@@ -182,12 +182,6 @@ Lint/SelfAssignment:
Exclude:
- 'spec/lib/gitlab/search_context/builder_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
Lint/SendWithMixinArgument:
Exclude:
- 'config/initializers/trusted_proxies.rb'
# Offense count: 3
Lint/StructNewOverride:
Exclude:
......
......@@ -30,4 +30,4 @@ module TrustedProxyMonkeyPatch
end
end
ActionDispatch::Request.send(:include, TrustedProxyMonkeyPatch)
ActionDispatch::Request.include TrustedProxyMonkeyPatch
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment