summaryrefslogtreecommitdiff
path: root/app/helpers/search_helper.rb
diff options
context:
space:
mode:
authorAlexis Reigel <alexis.reigel.ext@siemens.com>2018-12-19 15:24:46 +0100
committerAlexis Reigel <alexis.reigel.ext@siemens.com>2019-03-14 18:30:30 +0100
commit55629a2e4d0237760e1e252f9dbe658f39045156 (patch)
treee4538625c191d0dbd40192daac90ccb6a9c98918 /app/helpers/search_helper.rb
parentc36d98501b86e12d03d9a66d3ada9688531f6cd8 (diff)
downloadgitlab-ce-55629a2e4d0237760e1e252f9dbe658f39045156.tar.gz
add feature flag for users search
Diffstat (limited to 'app/helpers/search_helper.rb')
-rw-r--r--app/helpers/search_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
index 97fcb200c67..8110377850b 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -203,6 +203,8 @@ module SearchHelper
end
def search_tabs?(tab)
+ return false if Feature.disabled?(:users_search, default_enabled: true)
+
if @project
project_search_tabs?(:members)
else