diff options
-rw-r--r-- | app/helpers/events_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index 90851a80b61..373027c66ec 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -91,11 +91,11 @@ module EventsHelper words << "##{event.target_iid}" if event.target_iid words << "in" elsif event.merge_request? - words << "!#{event.target_iid}:" if event.target_iid + words << "#{Issue.reference_prefix}#{event.target_iid}:" if event.target_iid words << event.target.title if event.target.respond_to?(:title) words << "at" elsif event.target - words << "##{event.target_iid}:" + words << "#{MergeRequest.reference_prefix}#{event.target_iid}:" words << event.target.title if event.target.respond_to?(:title) words << "at" end |