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:
authorMario de la Ossa <mariodelaossa@gmail.com>2019-03-06 22:33:06 +0300
committerMario de la Ossa <mariodelaossa@gmail.com>2019-03-28 21:14:18 +0300
commit8fb76e4d1bab37ba8aa4fbdad3a845ec4506ce69 (patch)
treee5575f60308d6024ff100872f7cebba3a9d65d6c /app/helpers/search_helper.rb
parent12818c20430bec5b54903e19ff78b0575c61f05c (diff)
Backport of 1607-elastic_feature_flag_per_group
Diffstat (limited to 'app/helpers/search_helper.rb')
-rw-r--r--app/helpers/search_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
index 0ee76a51f7d..08a723c320f 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -45,6 +45,10 @@ module SearchHelper
filename
end
+ def search_service
+ @search_service ||= ::SearchService.new(current_user, params)
+ end
+
private
# Autocomplete results for various settings pages