Use new method hide_whitespaces?
This commit is contained in:
parent
4735914031
commit
64c2d9bd3c
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ module DiffHelper
|
|||
end
|
||||
|
||||
def diff_options
|
||||
options = { ignore_whitespace_change: params[:w] == '1' }
|
||||
options = { ignore_whitespace_change: hide_whitespaces? }
|
||||
if diff_hard_limit_enabled?
|
||||
options.merge!(Commit.max_diff_options)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue