Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-08-03 19:32:01 +0300
committerDouwe Maan <douwe@selenight.nl>2016-08-03 19:32:01 +0300
commitc008a1a9674f7c01b4504e22ed414b07eff05385 (patch)
treedaf83460eaf0f1a470a8f07b0b132c3cf12a566b /app/models/compare.rb
parentc86c1905b5574cac234315598d8d715fcaee3ea7 (diff)
Make Compare#diffs diff_options a regular argument
Diffstat (limited to 'app/models/compare.rb')
-rw-r--r--app/models/compare.rb2
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,