diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-07 20:25:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 02:25:20 +0100 |
commit | 2e652aa81c22c802e4571e6cfa443319cb862614 (patch) | |
tree | 2bbc48e0cbd187a892995a3e1897522cb4232dec /app | |
parent | ef8988aef2b616305c7f3038dc555d22ff1125fd (diff) |
Apply Rubocop Performance/RedundantSplitRegexpArgument (#23443)
* Apply Rubocop Performance/RedundantSplitRegexpArgument * Update app/controllers/concerns/signature_verification.rb
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/concerns/signature_verification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/signature_verification.rb b/app/controllers/concerns/signature_verification.rb index a9950d21f..9c04ab4ca 100644 --- a/app/controllers/concerns/signature_verification.rb +++ b/app/controllers/concerns/signature_verification.rb @@ -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? |