Commit 2bb7a5bb authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'fix-diff-500' into 'master'

Fix 500 when viewing diff if a file changed permission

Fixes #1613

See merge request !1109
parents 80b58184 b897cc63
......@@ -12,7 +12,7 @@
- else
%span= diff_file.new_path
- if diff_file.mode_changed?
%span.file-mode= "#{diff.a_mode}#{diff.b_mode}"
%span.file-mode= "#{diff_file.diff.a_mode}#{diff_file.diff.b_mode}"
.diff-btn-group
- unless params[:view] == 'parallel'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment