diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2019-01-15 18:05:09 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2019-01-15 19:16:03 +0300 |
commit | 2190704c61323191b581b4776bda450fa5a089b8 (patch) | |
tree | 9f14cab22947cc178063da958c44a24a272b2f33 /lib/api/projects.rb | |
parent | f821a53b45d4b521ffb734b3b843f48e0d1ecfcd (diff) |
API: Support username with dots
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 9f3a1699146..d76d5d822b1 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -128,7 +128,7 @@ module API end end - resource :users, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do + resource :users, requirements: { user_id: API::NO_SLASH_URL_PART_REGEX } do desc 'Get a user projects' do success Entities::BasicProjectDetails end |