提交 33c48ecd 编写于 作者: C Christian Simon

Code deduplication using inheritance for GroupDetail

上级 6dba727c
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册