Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
dddbf58b
Commit
dddbf58b
authored
Jan 05, 2021
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rubocop TODO for Lint/SendWithMixinArgument
parent
eef6e638
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
.rubocop_todo.yml
.rubocop_todo.yml
+0
-6
config/initializers/trusted_proxies.rb
config/initializers/trusted_proxies.rb
+1
-1
No files found.
.rubocop_todo.yml
View file @
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
:
...
...
config/initializers/trusted_proxies.rb
View file @
dddbf58b
...
...
@@ -30,4 +30,4 @@ module TrustedProxyMonkeyPatch
end
end
ActionDispatch
::
Request
.
send
(
:include
,
TrustedProxyMonkeyPatch
)
ActionDispatch
::
Request
.
include
TrustedProxyMonkeyPatch
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment