summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-05-13 19:22:14 +0000
committerRobert Speicher <robert@gitlab.com>2016-05-13 19:22:14 +0000
commit5e130c3e39febcd577e61ebd30bd231827d41f2c (patch)
treef476cc25e1fd139bbecc60818724c26dbb725c23 /lib/api/helpers.rb
parent7a83f2c35c768a0c21d9ec540e2355ebaec57f26 (diff)
parent8d58e691c69f623878522c4f0dccf9f24229e9ce (diff)
downloadgitlab-ce-5e130c3e39febcd577e61ebd30bd231827d41f2c.tar.gz
Merge branch 'rubocop/space-around-operators' into 'master'
Rubocop: require space round operators This enables rubocop to require space around opertators and fix offenses in the codebase. There is another merge-request to solve remaining offenses in EE codebase, merge it first: gitlab-org/gitlab-ee!388 Fixes #17398 See merge request !4112
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r--lib/api/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index 5e638dbe16a..cadf9f98fe3 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -2,7 +2,7 @@ module API
module Helpers
PRIVATE_TOKEN_HEADER = "HTTP_PRIVATE_TOKEN"
PRIVATE_TOKEN_PARAM = :private_token
- SUDO_HEADER ="HTTP_SUDO"
+ SUDO_HEADER = "HTTP_SUDO"
SUDO_PARAM = :sudo
def parse_boolean(value)