Backport of 1607-elastic_feature_flag_per_group
This commit is contained in:
parent
12818c2043
commit
8fb76e4d1b
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 613 B |
Binary file not shown.
After Width: | Height: | Size: 845 B |
|
@ -14,8 +14,6 @@ class SearchController < ApplicationController
|
|||
layout 'search'
|
||||
|
||||
def show
|
||||
search_service = SearchService.new(current_user, params)
|
||||
|
||||
@project = search_service.project
|
||||
@group = search_service.group
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue