debian-mirror-gitlab/app/services/issue_links/list_service.rb
2020-11-24 15:15:51 +05:30

18 lines
356 B
Ruby

# frozen_string_literal: true
module IssueLinks
class ListService < IssuableLinks::ListService
extend ::Gitlab::Utils::Override
private
def child_issuables
issuable.related_issues(current_user, preload: preload_for_collection)
end
override :serializer
def serializer
LinkedProjectIssueSerializer
end
end
end