2012-03-16 00:14:39 +01:00
|
|
|
class SearchController < ApplicationController
|
|
|
|
def show
|
2012-10-09 21:09:46 +02:00
|
|
|
result = SearchContext.new(current_user.project_ids, params).execute
|
2012-07-31 07:32:49 +02:00
|
|
|
|
2012-10-09 21:09:46 +02:00
|
|
|
@projects = result[:projects]
|
|
|
|
@merge_requests = result[:merge_requests]
|
|
|
|
@issues = result[:issues]
|
2012-03-16 00:14:39 +01:00
|
|
|
end
|
|
|
|
end
|