Class: SolidQueueMonitor::BaseController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- SolidQueueMonitor::BaseController
- Includes:
- ActionController::Flash, ActionController::HttpAuthentication::Basic::ControllerMethods
- Defined in:
- app/controllers/solid_queue_monitor/base_controller.rb
Direct Known Subclasses
FailedJobsController, InProgressJobsController, OverviewController, QueuesController, ReadyJobsController, RecurringJobsController, ScheduledJobsController
Instance Method Summary collapse
-
#set_flash_message(message, type) ⇒ Object
Define a helper method for setting flash messages.
Instance Method Details
#set_flash_message(message, type) ⇒ Object
Define a helper method for setting flash messages
11 12 13 14 |
# File 'app/controllers/solid_queue_monitor/base_controller.rb', line 11 def (, type) session[:flash_message] = session[:flash_type] = type end |