diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-05-08 21:05:45 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-05-16 22:52:02 +0300 |
commit | 6286b28bbc9b62af729c45c45f953f5426f5bf52 (patch) | |
tree | b2d7ad6bc4439708c400b8866b064aa2450a8c32 /app/helpers | |
parent | a511a122651643ea5169d50fe09b9a89b6320aa2 (diff) |
Add an Event's target's title to its reference link
Given an activity feed entry like:
> Douwe Maan commented on [issue #123] at [gitlab-org/gitlab-ce]
...the `issue #123` link will now have a `title` attribute.
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/events_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index 0bf328e7d19..2b33889b46a 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -162,7 +162,7 @@ module EventsHelper "#{event.note_target_type} #{truncate event.note_target.to_reference}" end else - link_to event_note_target_path(event) do + link_to event_note_target_path(event), title: event.target_title do "#{event.note_target_type} #{truncate event.note_target.to_reference}" end end |