diff --git a/app/views/events/_commit.html.haml b/app/views/events/_commit.html.haml
index c86ce9ae651ad9f9ceb220a69371ccb1766e6b8b..742b74a67c7661f5219481888c00c443b1a221c8 100644
--- a/app/views/events/_commit.html.haml
+++ b/app/views/events/_commit.html.haml
@@ -2,4 +2,4 @@
.commit-row-title
= link_to truncate_sha(commit[:id]), namespace_project_commit_path(project.namespace, project, commit[:id]), class: "commit_short_id", alt: ''
- = gfm event_commit_title(commit[:message]), project
+ = gfm event_commit_title(commit[:message]), project: project