summaryrefslogtreecommitdiff
path: root/app/views/projects/compare/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/compare/show.html.haml')
-rw-r--r--app/views/projects/compare/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/compare/show.html.haml b/app/views/projects/compare/show.html.haml
index f2e65f68da6..266c14b358a 100644
--- a/app/views/projects/compare/show.html.haml
+++ b/app/views/projects/compare/show.html.haml
@@ -15,8 +15,8 @@
%div.ui-box
.title
Commits (#{@commits.count})
- %ul.well-list= render Commit.decorate(@commits)
+ %ul.well-list= render Commit.decorate(@commits), project: @project
- unless @diffs.empty?
%h4 Diff
- = render "projects/commits/diffs", diffs: @diffs
+ = render "projects/commits/diffs", diffs: @diffs, project: @project