e6524a919e
Very basic, using LIKE, and no search snippets.
10 lines
308 B
Ruby
10 lines
308 B
Ruby
class SearchController < ApplicationController
|
|
def show
|
|
result = SearchContext.new(current_user.project_ids, params).execute
|
|
|
|
@projects = result[:projects]
|
|
@merge_requests = result[:merge_requests]
|
|
@issues = result[:issues]
|
|
@wiki_pages = result[:wiki_pages]
|
|
end
|
|
end
|