diff --git a/app/views/events/_commit.html.haml b/app/views/events/_commit.html.haml
index c86ce9ae65..742b74a67c 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