debian-mirror-gitlab/app/helpers/notify_helper.rb

12 lines
286 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
module NotifyHelper
def merge_request_reference_link(entity, *args)
link_to(entity.to_reference, merge_request_url(entity, *args))
end
def issue_reference_link(entity, *args)
link_to(entity.to_reference, issue_url(entity, *args))
end
end