summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs/_image.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/diffs/_image.html.haml')
-rw-r--r--app/views/projects/diffs/_image.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_image.html.haml b/app/views/projects/diffs/_image.html.haml
index e3699c6cab4..752e92e2e6b 100644
--- a/app/views/projects/diffs/_image.html.haml
+++ b/app/views/projects/diffs/_image.html.haml
@@ -5,7 +5,7 @@
.image
%span.wrap
.frame{class: image_diff_class(diff)}
- %img{src: file_raw_path}
+ %img{src: diff.deleted_file ? old_file_raw_path : file_raw_path}
%p.image-info= "#{number_to_human_size file.size}"
- else
.image