summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-03-20 22:55:08 +0100
committerDouwe Maan <douwe@selenight.nl>2016-03-20 22:55:08 +0100
commit7c51d5efecdad1a7f52ffecdf57c86b7b90ca166 (patch)
tree770615e2c9fe547f064a0de0246f397e32ff83c8 /app/views
parent3058a8fa4c1dfdf50a6f274bfbf280f8d2137168 (diff)
downloadgitlab-ce-7c51d5efecdad1a7f52ffecdf57c86b7b90ca166.tar.gz
Fix some specs
Diffstat (limited to 'app/views')
-rw-r--r--app/views/events/event/_common.html.haml2
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 e9e16a7646f..c994e3b997d 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.to_reference, [event.project.namespace.becomes(Namespace), event.project, event.target]
+ %strong= link_to event.target.reference_link_text, [event.project.namespace.becomes(Namespace), event.project, event.target]
= event_preposition(event)