Backport of 1607-elastic_feature_flag_per_group

This commit is contained in:
Mario de la Ossa 2019-03-06 13:33:06 -06:00
parent 12818c2043
commit 8fb76e4d1b
No known key found for this signature in database
GPG Key ID: 20CA8F4C6A20761B
5 changed files with 4 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
app/assets/images/select2.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

BIN
app/assets/images/select2x2.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 845 B

View File

@ -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

View File

@ -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