Skip to content
Snippets Groups Projects
Commit 33c48ecd authored by Christian Simon's avatar Christian Simon
Browse files

Code deduplication using inheritance for GroupDetail

parent 6dba727c
No related branches found
No related tags found
3 merge requests!2940Expanding repos and hooks paths in settings,!2877Add groups api,!2636Text Templates for mail notification
Loading
Loading
@@ -36,8 +36,7 @@ module Gitlab
expose :id, :name, :path, :owner_id
end
class GroupDetail < Grape::Entity
expose :id, :name, :path, :name, :owner_id, :type
class GroupDetail < Group
expose :projects, using: Entities::Project
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment