diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 19:32:40 +0300 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 19:32:40 +0300 |
commit | 563b303bde6701fc91351701db651e8da68f9b80 (patch) | |
tree | a293f677e4925fea7c26257b5dc65aa291548e8e /lib/api/projects.rb | |
parent | b4a919ab9e6c5e008828a8109b7dc9276cc875d5 (diff) |
removes basicprojectwithaccess and replaces it with basicprojectdetails
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 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 |