summaryrefslogtreecommitdiff
path: root/lib/api/v3/projects.rb
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-02-24 09:23:19 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-03-03 10:29:37 +0100
commitb795e3a069ec3d6fdfb5fc5942310166de349cd9 (patch)
treebea0b9710e628ab1e26fc48fcf6204869592a716 /lib/api/v3/projects.rb
parent93ed053359f7ece17c97f7c3d15f79821159a522 (diff)
downloadgitlab-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.rb1
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]