diff options
| author | Rémy Coutable <remy@rymai.me> | 2017-02-06 11:28:48 +0000 |
|---|---|---|
| committer | Rémy Coutable <remy@rymai.me> | 2017-02-06 11:28:48 +0000 |
| commit | dcf9af6c1258b438d91727e824589e52e43d344c (patch) | |
| tree | 631f7985ee9324f9671ca16ec64edbe87f688805 /lib/api/api.rb | |
| parent | da359c46b598ba44cff1829ab4abe49c4c225ae2 (diff) | |
| parent | cdd2346d45f31482371520748289fcab4c423297 (diff) | |
| download | gitlab-ce-dcf9af6c1258b438d91727e824589e52e43d344c.tar.gz | |
Merge branch '22007-unify-projects-search' into 'master'
Unify projects search by removing /projects/:search endpoint
Closes #22007
See merge request !8877
Diffstat (limited to 'lib/api/api.rb')
| -rw-r--r-- | lib/api/api.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb index 6cf6b501021..090109d5e6f 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -1,7 +1,12 @@ module API class API < Grape::API include APIGuard - version 'v3', using: :path + + version %w(v3 v4), using: :path + + version 'v3', using: :path do + mount ::API::V3::Projects + end before { allow_access_with_scope :api } |
