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
No related merge requests found
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