Commit dddbf58b authored by Peter Leitzen's avatar Peter Leitzen

Fix Rubocop TODO for Lint/SendWithMixinArgument

parent eef6e638
......@@ -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