summaryrefslogtreecommitdiff
path: root/app/views/events
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-09-11 17:40:44 +0100
committerNick Thomas <nick@gitlab.com>2018-09-11 18:41:51 +0100
commit7dcb91bd06e79331208c2bcb6849115cac83cedb (patch)
tree7a904323f838723c6463bf4474ef5a7157713c49 /app/views/events
parente68ebdfb4e719a7711ff7e2650707a99e2352321 (diff)
downloadgitlab-ce-7dcb91bd06e79331208c2bcb6849115cac83cedb.tar.gz
Fix the group and project activity pages
Diffstat (limited to 'app/views/events')
-rw-r--r--app/views/events/_event.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/_event.html.haml b/app/views/events/_event.html.haml
index 5623f0f590a..78a1d1a0553 100644
--- a/app/views/events/_event.html.haml
+++ b/app/views/events/_event.html.haml
@@ -11,5 +11,5 @@
= render "events/event/note", event: event
- else
= render "events/event/common", event: event
-- elsif @user.include_private_contributions?
+- elsif @user&.include_private_contributions?
= render "events/event/private", event: event