Skip to content
Snippets Groups Projects
Unverified Commit 2e652aa8 authored by Nick Schonning's avatar Nick Schonning Committed by GitHub
Browse files

Apply Rubocop Performance/RedundantSplitRegexpArgument (#23443)

* Apply Rubocop Performance/RedundantSplitRegexpArgument

* Update app/controllers/concerns/signature_verification.rb
parent ef8988ae
No related branches found
No related tags found
No related merge requests found
......@@ -227,7 +227,7 @@ module SignatureVerification
end
def to_header_name(name)
name.split(/-/).map(&:capitalize).join('-')
name.split('-').map(&:capitalize).join('-')
end
def missing_required_signature_parameters?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment