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.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/events/_event.html.haml b/app/views/events/_event.html.haml
index b3db83c26dd..d49f0382dea 100644
--- a/app/views/events/_event.html.haml
+++ b/app/views/events/_event.html.haml
@@ -1,13 +1,13 @@
- if event.allowed?
- if event.issue?
.event_feed
- = render "events/event_issue", :event => event
+ = render "events/event_issue", event: event
- elsif event.merge_request?
.event_feed
- = render "events/event_merge_request", :event => event
+ = render "events/event_merge_request", event: event
- elsif event.push?
.event_feed
- = render "events/event_push", :event => event
+ = render "events/event_push", event: event