Commit 64c2d9bd authored by Alfredo Sumaran's avatar Alfredo Sumaran

Use new method hide_whitespaces?

parent 47359140
......@@ -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
......
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