diff options
author | Jason Lee <huacnlee@gmail.com> | 2015-10-22 17:16:51 +0800 |
---|---|---|
committer | Jason Lee <huacnlee@gmail.com> | 2015-10-23 11:42:57 +0800 |
commit | 3d613fe1e87a4e9837239b34f5fdf88063ea98f9 (patch) | |
tree | 46aabf72b73323ec6aa0cd0d127bcd59b342486d /lib/api/helpers.rb | |
parent | 52983a84b9dbb8beaef3ebaf3d502c6ec34f7362 (diff) | |
download | gitlab-ce-3d613fe1e87a4e9837239b34f5fdf88063ea98f9.tar.gz |
Fix API::APIHelpers -> API::Helpers;
Rails Autoload find file to require is use , APIHelpers -> api_helpers.rb, not helpers.rb;
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 549b1f9e9a7..652bdf9b278 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -1,5 +1,5 @@ module API - module APIHelpers + module Helpers PRIVATE_TOKEN_HEADER = "HTTP_PRIVATE_TOKEN" PRIVATE_TOKEN_PARAM = :private_token SUDO_HEADER ="HTTP_SUDO" |