Class: SolidQueueMonitor::SearchController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- ApplicationController
- BaseController
- SolidQueueMonitor::SearchController
- Defined in:
- app/controllers/solid_queue_monitor/search_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
#apply_execution_sorting, #apply_sorting, #current_page, #filter_by_arguments, #filter_failed_jobs, #filter_jobs, #filter_params, #filter_ready_jobs, #filter_recurring_jobs, #filter_scheduled_jobs, #paginate, #per_page, #preload_job_statuses, #render_page, #sort_params
Methods inherited from ApplicationController
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/solid_queue_monitor/search_controller.rb', line 5 def index query = params[:q] results = SearchService.new(query).search render_page('Search', SearchResultsPresenter.new(query, results).render, search_query: query) end |