summaryrefslogtreecommitdiff
path: root/app/finders/branches_finder.rb
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2017-11-15 23:56:36 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-03-06 21:28:14 +0900
commit580d8953636266e40802fd8ea525c4908ebc8b9f (patch)
treeb643fc68bbb40643c8932f8b456173669a334a81 /app/finders/branches_finder.rb
parent65348cf07bafef5efc1c9665d3efdb5a1bdd7128 (diff)
downloadgitlab-ce-580d8953636266e40802fd8ea525c4908ebc8b9f.tar.gz
Add overview of branches and a filter for active/stale branches
Diffstat (limited to 'app/finders/branches_finder.rb')
-rw-r--r--app/finders/branches_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/branches_finder.rb b/app/finders/branches_finder.rb
index 852eac3647d..8bb1366867c 100644
--- a/app/finders/branches_finder.rb
+++ b/app/finders/branches_finder.rb
@@ -1,5 +1,5 @@
class BranchesFinder
- def initialize(repository, params)
+ def initialize(repository, params = {})
@repository = repository
@params = params
end