Fix 500 error on diff if file permission changed
This commit is contained in:
parent
e586ee347f
commit
b897cc63a5
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
- else
|
- else
|
||||||
%span= diff_file.new_path
|
%span= diff_file.new_path
|
||||||
- if diff_file.mode_changed?
|
- 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
|
.diff-btn-group
|
||||||
- unless params[:view] == 'parallel'
|
- unless params[:view] == 'parallel'
|
||||||
|
|
Loading…
Reference in a new issue