summaryrefslogtreecommitdiff
path: root/app/services/search/project_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/search/project_service.rb')
-rw-r--r--app/services/search/project_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/search/project_service.rb b/app/services/search/project_service.rb
index 3181c0098cc..3e93346bfdf 100644
--- a/app/services/search/project_service.rb
+++ b/app/services/search/project_service.rb
@@ -8,8 +8,8 @@ module Search
attr_accessor :project, :current_user, :params
- def initialize(project, user, params)
- @project = project
+ def initialize(project_or_projects, user, params)
+ @project = project_or_projects
@current_user = user
@params = params.dup
end