summaryrefslogtreecommitdiff
path: root/app/views/notify/note_merge_request_email.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/note_merge_request_email.html.haml')
-rw-r--r--app/views/notify/note_merge_request_email.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notify/note_merge_request_email.html.haml b/app/views/notify/note_merge_request_email.html.haml
index 35c4b862bb7..ea7e3d199fd 100644
--- a/app/views/notify/note_merge_request_email.html.haml
+++ b/app/views/notify/note_merge_request_email.html.haml
@@ -1,4 +1,4 @@
-- if @note.diff_note?
+- if @note.diff_note? && @note.diff_file
%p.details
New comment on diff for
= link_to @note.diff_file.file_path, @target_url