summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_commit_box.html.haml
diff options
context:
space:
mode:
authormicael.bergeron <micaelbergeron@gmail.com>2017-11-14 11:48:40 -0500
committermicael.bergeron <micaelbergeron@gmail.com>2017-12-07 09:01:23 -0500
commit6b3f0fee151283348b44a69342ec1a6738cd2de0 (patch)
tree98f7483a9b5d98d152e268785460d765f1995d13 /app/views/projects/commit/_commit_box.html.haml
parente35656318a0ef78a3a4b5257298201fbefe4fbfa (diff)
downloadgitlab-ce-6b3f0fee151283348b44a69342ec1a6738cd2de0.tar.gz
corrects the url building
Diffstat (limited to 'app/views/projects/commit/_commit_box.html.haml')
-rw-r--r--app/views/projects/commit/_commit_box.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index f2414d43578..09934c09865 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -87,6 +87,6 @@
This commit is part of merge request
= succeed '.' do
- = link_to @merge_request.to_reference, namespace_project_merge_request_path(@project.namespace, @project, @merge_request)
+ = link_to @merge_request.to_reference, diffs_project_merge_request_path(@project, @merge_request, commit_id: @commit.id)
Comments created here will be created in the context of that merge request.