summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-08 09:47:09 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 16:40:49 +0100
commit8d9e649c241be6a62a47201b57863a78c94e6f01 (patch)
tree01aa90916d858eb89241461c3e0b77eb915bd8cf /lib/api/projects.rb
parent2a161e7a10574b1678803843585686a93150f686 (diff)
downloadgitlab-ce-8d9e649c241be6a62a47201b57863a78c94e6f01.tar.gz
changes the usage of simpleprojectdetails to already implemented basicprojectsdetails and changes the url to a more reader friendly format
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index 9448af92a98..844547665ef 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -32,17 +32,6 @@ module API
end
end
- # Get a simplified project list for authenticated user
- #
- # Example Request:
- # GET /projects/simple
- get '/simple' do
- @projects = current_user.authorized_projects
- @projects = filter_projects(@projects)
- @projects = paginate @projects
- present @projects, with: Entities::SimpleProjectWithAccess, user: current_user
- end
-
# Get an owned projects list for authenticated user
#
# Example Request: