diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-08-03 19:32:01 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-08-03 19:32:01 +0300 |
commit | c008a1a9674f7c01b4504e22ed414b07eff05385 (patch) | |
tree | daf83460eaf0f1a470a8f07b0b132c3cf12a566b /app/models/compare.rb | |
parent | c86c1905b5574cac234315598d8d715fcaee3ea7 (diff) |
Make Compare#diffs diff_options a regular argument
Diffstat (limited to 'app/models/compare.rb')
-rw-r--r-- | app/models/compare.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/compare.rb b/app/models/compare.rb index 98c042f3809..4856510f526 100644 --- a/app/models/compare.rb +++ b/app/models/compare.rb @@ -49,7 +49,7 @@ class Compare @compare.diffs(*args) end - def diffs(diff_options:) + def diffs(diff_options = nil) Gitlab::Diff::FileCollection::Compare.new(self, project: project, diff_options: diff_options, |