Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-07 02:39:33 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-07 02:39:33 +0300
commitb55a0519acb34a764b2a350010aa813fd35b361e (patch)
tree53a43a972224684711b6a4bed59ab573c1dab71d /app/views/projects/merge_requests
parent842f9e03a8b6c5e7a25381aeeafa35ef7d927c71 (diff)
Pass source project variable to commits list on MR page
Diffstat (limited to 'app/views/projects/merge_requests')
-rw-r--r--app/views/projects/merge_requests/_new_submit.html.haml2
-rw-r--r--app/views/projects/merge_requests/show/_commits.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/merge_requests/_new_submit.html.haml b/app/views/projects/merge_requests/_new_submit.html.haml
index 6c5875c7d42..ac374532ffd 100644
--- a/app/views/projects/merge_requests/_new_submit.html.haml
+++ b/app/views/projects/merge_requests/_new_submit.html.haml
@@ -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
diff --git a/app/views/projects/merge_requests/show/_commits.html.haml b/app/views/projects/merge_requests/show/_commits.html.haml
index ac214e687b8..3b7f283daf0 100644
--- a/app/views/projects/merge_requests/show/_commits.html.haml
+++ b/app/views/projects/merge_requests/show/_commits.html.haml
@@ -1 +1 @@
-= render "projects/commits/commits" \ No newline at end of file
+= render "projects/commits/commits", project: @merge_request.source_project