Module: API::Helpers::SearchHelpers

Defined in:
lib/api/helpers/search_helpers.rb

Class Method Summary collapse

Class Method Details

.global_search_scopesObject


6
7
8
9
# File 'lib/api/helpers/search_helpers.rb', line 6

def self.global_search_scopes
  # This is a separate method so that EE can redefine it.
  %w(projects issues merge_requests milestones snippet_titles users)
end

.group_search_scopesObject


11
12
13
14
# File 'lib/api/helpers/search_helpers.rb', line 11

def self.group_search_scopes
  # This is a separate method so that EE can redefine it.
  %w(projects issues merge_requests milestones users)
end

.project_search_scopesObject


16
17
18
19
# File 'lib/api/helpers/search_helpers.rb', line 16

def self.project_search_scopes
  # This is a separate method so that EE can redefine it.
  %w(issues merge_requests milestones notes wiki_blobs commits blobs users)
end