Class: ResqueWeb::QueuesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ResqueWeb::QueuesController
- Defined in:
- app/controllers/resque_web/queues_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#clear ⇒ Object
16 17 18 19 |
# File 'app/controllers/resque_web/queues_controller.rb', line 16 def clear Resque.redis.del("queue:#{params[:id]}") redirect_to queue_path(params[:id]) end |
#destroy ⇒ Object
11 12 13 14 |
# File 'app/controllers/resque_web/queues_controller.rb', line 11 def destroy Resque.remove_queue(params[:id]) redirect_to queues_path end |
#index ⇒ Object
4 5 |
# File 'app/controllers/resque_web/queues_controller.rb', line 4 def index end |
#show ⇒ Object
7 8 9 |
# File 'app/controllers/resque_web/queues_controller.rb', line 7 def show set_subtabs view_context.queue_names end |