Fix groups api: differ between users and admin

This commit is contained in:
Christian Simon 2013-02-01 15:00:12 +01:00
parent fc0c692870
commit 149ccd5d91
2 changed files with 50 additions and 44 deletions

View file

@ -33,7 +33,7 @@ module Gitlab
end
class Group < Grape::Entity
expose :id, :name, :path, :name, :owner_id, :type
expose :id, :name, :path, :owner_id
end
class GroupDetail < Grape::Entity