Commit 6e5c72f8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'fix-commits-link-mr' into 'master'

Fix commit link on MR from fork

See merge request !1372
parents 842f9e03 b55a0519
......@@ -7,5 +7,5 @@
%p= pluralize(commits.count, 'commit')
.col-md-10
%ul.bordered-list
= render commits, project: @project
= render commits, project: project
%hr.lists-separator
......@@ -13,7 +13,7 @@
= commits_breadcrumbs
%div{id: dom_id(@project)}
#commits-list= render "commits"
#commits-list= render "commits", project: @project
.clear
= spinner
......
......@@ -94,7 +94,7 @@
%span.badge= @diffs.size
.commits.tab-content
= render "projects/commits/commits"
= render "projects/commits/commits", project: @project
.diffs.tab-content
- if @diffs.present?
= render "projects/diffs/diffs", diffs: @diffs, project: @project
......
= render "projects/commits/commits"
\ No newline at end of file
= render "projects/commits/commits", project: @merge_request.source_project
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment