summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/diff_files.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/commit/diff_files.html.haml')
-rw-r--r--app/views/projects/commit/diff_files.html.haml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/commit/diff_files.html.haml b/app/views/projects/commit/diff_files.html.haml
index 3a473be3840..0c52c1a15a4 100644
--- a/app/views/projects/commit/diff_files.html.haml
+++ b/app/views/projects/commit/diff_files.html.haml
@@ -1,3 +1 @@
-- diff_files = diffs.diff_files
-
-= render partial: 'projects/diffs/file', collection: diff_files, as: :diff_file, locals: { project: diffs.project, environment: environment, diff_page_context: 'is-commit' }
+= render partial: 'projects/diffs/file', collection: diffs.diff_files, as: :diff_file, locals: { project: diffs.project, environment: environment, diff_page_context: 'is-commit' }