summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-04-25 09:00:20 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-04-28 22:28:36 +0530
commitb22a47c62e076acddd254e2d659f38261085bf01 (patch)
tree18a5ae522e9f1129622f526e69c2133b8c4f0782 /lib/api/api.rb
parentfc4bce755d19d570c4a00241048517c38aa839b3 (diff)
downloadgitlab-ce-b22a47c62e076acddd254e2d659f38261085bf01.tar.gz
Combine `API::Helpers::Core` and `API::Helpers::Authentication` back into `API::Helpers`
- Makes the MR easier to read; this can go in a separate MR - This is a (sort of) revert of 99bea01
Diffstat (limited to 'lib/api/api.rb')
-rw-r--r--lib/api/api.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb
index 537678863cb..cc1004f8005 100644
--- a/lib/api/api.rb
+++ b/lib/api/api.rb
@@ -1,5 +1,4 @@
Dir["#{Rails.root}/lib/api/*.rb"].each {|file| require file}
-Dir["#{Rails.root}/lib/api/helpers/*.rb"].each {|file| require file}
module API
class API < Grape::API
@@ -26,8 +25,7 @@ module API
format :json
content_type :txt, "text/plain"
- helpers Helpers::Core
- helpers Helpers::Authentication
+ helpers Helpers
mount Groups
mount GroupMembers