diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2019-01-31 11:13:23 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2019-01-31 11:13:23 +0100 |
commit | a612bd070862097893103c4babc63df9ad45b214 (patch) | |
tree | a16a646706d9a729badd836da0824eb0ba5121b5 /lib/api/projects.rb | |
parent | 33200ed6904b00fc6c24363e29f4a8de895fb6c1 (diff) | |
download | gitlab-ce-a612bd070862097893103c4babc63df9ad45b214.tar.gz |
Unify user requirements for API slugs
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r-- | lib/api/projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index d76d5d822b1..3afa2d8a6b0 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -128,7 +128,7 @@ module API end end - resource :users, requirements: { user_id: API::NO_SLASH_URL_PART_REGEX } do + resource :users, requirements: API::USER_REQUIREMENTS do desc 'Get a user projects' do success Entities::BasicProjectDetails end |