diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-24 09:23:19 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-03-03 10:29:37 +0100 |
commit | b795e3a069ec3d6fdfb5fc5942310166de349cd9 (patch) | |
tree | bea0b9710e628ab1e26fc48fcf6204869592a716 /lib/api/v3/projects.rb | |
parent | 93ed053359f7ece17c97f7c3d15f79821159a522 (diff) | |
download | gitlab-ce-zj-api-rename-v2.tar.gz |
Update tests to passzj-api-rename-v2
Diffstat (limited to 'lib/api/v3/projects.rb')
-rw-r--r-- | lib/api/v3/projects.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/v3/projects.rb b/lib/api/v3/projects.rb index 47bfc12035a..8758acd2fc1 100644 --- a/lib/api/v3/projects.rb +++ b/lib/api/v3/projects.rb @@ -158,6 +158,7 @@ module API use :statistics_params end get '/all' do + byebug authenticated_as_admin! present_projects Project.all, with: ::API::V3::Entities::ProjectWithAccess, statistics: params[:statistics] |