Class: Toro::Monitor::QueuesController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/toro/monitor/queues_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject


4
5
6
# File 'app/controllers/toro/monitor/queues_controller.rb', line 4

def index
  @queues = Job.select('DISTINCT queue').collect { |job| job.queue }.sort
end