gitlab-org--gitlab-foss/app/serializers/merge_request_sidebar_extras_entity.rb

8 lines
244 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class MergeRequestSidebarExtrasEntity < IssuableSidebarExtrasEntity
expose :assignees do |merge_request|
MergeRequestAssigneeEntity.represent(merge_request.assignees, merge_request: merge_request)
end
end