diff options
author | Phil Hughes <me@iamphill.com> | 2016-02-23 16:38:34 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-01 16:03:39 +0300 |
commit | fbe6b8eeca5443922aea9bac6bf35aedf4103b57 (patch) | |
tree | 10a93510f116ce95fae9b81afdf152bf5ad635a5 /app/views/events | |
parent | aff5e73f2a1daedbbff148274ad9222d377280b2 (diff) |
Replaced prefix with to_reference method calls
Diffstat (limited to 'app/views/events')
-rw-r--r-- | app/views/events/event/_common.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/event/_common.html.haml b/app/views/events/event/_common.html.haml index 2f531e08a91..a606640b0f1 100644 --- a/app/views/events/event/_common.html.haml +++ b/app/views/events/event/_common.html.haml @@ -4,7 +4,7 @@ = event_action_name(event) - if event.target - %strong= link_to "!#{event.target_iid}", [event.project.namespace.becomes(Namespace), event.project, event.target] + %strong= link_to "#{event.target.to_reference}", [event.project.namespace.becomes(Namespace), event.project, event.target] = event_preposition(event) |