Commit 33c48ecd authored by Christian Simon's avatar Christian Simon

Code deduplication using inheritance for GroupDetail

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment