diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-08 09:47:09 +0100 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 16:40:49 +0100 |
commit | 8d9e649c241be6a62a47201b57863a78c94e6f01 (patch) | |
tree | 01aa90916d858eb89241461c3e0b77eb915bd8cf /lib/api/entities.rb | |
parent | 2a161e7a10574b1678803843585686a93150f686 (diff) | |
download | gitlab-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/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 1ecf50cd595..b62afb4bb4c 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -91,12 +91,6 @@ module API end end - class SimpleProject < Grape::Entity - expose :id - expose :name, :name_with_namespace - expose :http_url_to_repo - end - class ProjectMember < UserBasic expose :access_level do |user, options| options[:project].project_members.find_by(user_id: user.id).access_level |