Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8fb76e4d
Commit
8fb76e4d
authored
Mar 06, 2019
by
Mario de la Ossa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport of 1607-elastic_feature_flag_per_group
parent
12818c20
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
2 deletions
+4
-2
app/assets/images/select2-spinner.gif
app/assets/images/select2-spinner.gif
+0
-0
app/assets/images/select2.png
app/assets/images/select2.png
+0
-0
app/assets/images/select2x2.png
app/assets/images/select2x2.png
+0
-0
app/controllers/search_controller.rb
app/controllers/search_controller.rb
+0
-2
app/helpers/search_helper.rb
app/helpers/search_helper.rb
+4
-0
No files found.
app/assets/images/select2-spinner.gif
0 → 100755
View file @
8fb76e4d
1.81 KB
app/assets/images/select2.png
0 → 100755
View file @
8fb76e4d
613 Bytes
app/assets/images/select2x2.png
0 → 100755
View file @
8fb76e4d
845 Bytes
app/controllers/search_controller.rb
View file @
8fb76e4d
...
@@ -14,8 +14,6 @@ class SearchController < ApplicationController
...
@@ -14,8 +14,6 @@ class SearchController < ApplicationController
layout
'search'
layout
'search'
def
show
def
show
search_service
=
SearchService
.
new
(
current_user
,
params
)
@project
=
search_service
.
project
@project
=
search_service
.
project
@group
=
search_service
.
group
@group
=
search_service
.
group
...
...
app/helpers/search_helper.rb
View file @
8fb76e4d
...
@@ -45,6 +45,10 @@ module SearchHelper
...
@@ -45,6 +45,10 @@ module SearchHelper
filename
filename
end
end
def
search_service
@search_service
||=
::
SearchService
.
new
(
current_user
,
params
)
end
private
private
# Autocomplete results for various settings pages
# Autocomplete results for various settings pages
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment