summaryrefslogtreecommitdiff
path: root/app/views/events/_event.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/events/_event.html.haml')
-rw-r--r--app/views/events/_event.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/events/_event.html.haml b/app/views/events/_event.html.haml
index 222175c818a..647f0597adb 100644
--- a/app/views/events/_event.html.haml
+++ b/app/views/events/_event.html.haml
@@ -1,3 +1,5 @@
+- event = event.present
+
- if event.visible_to_user?(current_user)
.event-item
.event-item-timestamp