Commit b55a0519 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Pass source project variable to commits list on MR page

parent 842f9e03
......@@ -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