diff options
Diffstat (limited to 'lib/api/helpers/headers_helpers.rb')
-rw-r--r-- | lib/api/helpers/headers_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/headers_helpers.rb b/lib/api/helpers/headers_helpers.rb index 7553af9d156..3af44a230b3 100644 --- a/lib/api/helpers/headers_helpers.rb +++ b/lib/api/helpers/headers_helpers.rb @@ -9,7 +9,7 @@ module API raise ArgumentError.new("Header value should be a string") end - header "X-Gitlab-#{key.to_s.split('_').collect(&:capitalize).join('-')}", value.to_s + header "X-Gitlab-#{key.to_s.split("_").collect(&:capitalize).join("-")}", value.to_s end end end |