diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2018-01-12 09:15:13 -0200 |
---|---|---|
committer | Marcia Ramos <virtua.creative@gmail.com> | 2018-01-12 09:15:13 -0200 |
commit | 89cc47e359ac329afd9a532055d38ea806ee94a7 (patch) | |
tree | 988837da79a459cf80ede9d6ea322cc9c5646d76 /app/views/projects/diffs/_file.html.haml | |
parent | 6f73a98dd3e4b8be8c05fe025e1ab731129e1f51 (diff) | |
parent | f9579df8617add53424f57c0feedfa601a77e923 (diff) | |
download | gitlab-ce-89cc47e359ac329afd9a532055d38ea806ee94a7.tar.gz |
fix conflictsdocs-move-article-autoscaling-runner-aws
Diffstat (limited to 'app/views/projects/diffs/_file.html.haml')
-rw-r--r-- | app/views/projects/diffs/_file.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_file.html.haml b/app/views/projects/diffs/_file.html.haml index adc4dcbed33..0b01e38d23d 100644 --- a/app/views/projects/diffs/_file.html.haml +++ b/app/views/projects/diffs/_file.html.haml @@ -11,7 +11,7 @@ - unless diff_file.submodule? - blob = diff_file.blob .file-actions.hidden-xs - - if blob.readable_text? + - if blob&.readable_text? = link_to '#', class: 'js-toggle-diff-comments btn active has-tooltip', title: "Toggle comments for this file", disabled: @diff_notes_disabled do = icon('comment') \ |