Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 19:32:40 +0300
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 19:32:40 +0300
commit563b303bde6701fc91351701db651e8da68f9b80 (patch)
treea293f677e4925fea7c26257b5dc65aa291548e8e /lib/api/projects.rb
parentb4a919ab9e6c5e008828a8109b7dc9276cc875d5 (diff)
removes basicprojectwithaccess and replaces it with basicprojectdetails
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index 844547665ef..6d2a6f3946c 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -26,7 +26,7 @@ module API
@projects = filter_projects(@projects)
@projects = paginate @projects
if params[:simple]
- present @projects, with: Entities::BasicProjectWithAccess, user: current_user
+ present @projects, with: Entities::BasicProjectDetails, user: current_user
else
present @projects, with: Entities::ProjectWithAccess, user: current_user
end