diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-21 17:32:18 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:31:56 -0600 |
commit | b7d8df503cf35b3048b273dc0cadb5ec39aac5e1 (patch) | |
tree | 0edbdd9158baa535b12831a3d4860b73894df9ab /lib/api/api_guard.rb | |
parent | 3dadf306ddc81183e74b048bc4119796852ed7ea (diff) | |
download | gitlab-ce-b7d8df503cf35b3048b273dc0cadb5ec39aac5e1.tar.gz |
Enable Style/MutableConstant
Diffstat (limited to 'lib/api/api_guard.rb')
-rw-r--r-- | lib/api/api_guard.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/api_guard.rb b/lib/api/api_guard.rb index df6db140d0e..dad588debf0 100644 --- a/lib/api/api_guard.rb +++ b/lib/api/api_guard.rb @@ -6,7 +6,7 @@ module API module APIGuard extend ActiveSupport::Concern - PRIVATE_TOKEN_HEADER = "HTTP_PRIVATE_TOKEN" + PRIVATE_TOKEN_HEADER = "HTTP_PRIVATE_TOKEN".freeze PRIVATE_TOKEN_PARAM = :private_token included do |base| |