Class: ResqueWeb::QueuesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/resque_web/queues_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#set_subtabs, subtabs

Instance Method Details

#destroyObject



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

#indexObject



4
5
# File 'app/controllers/resque_web/queues_controller.rb', line 4

def index
end

#showObject



7
8
9
# File 'app/controllers/resque_web/queues_controller.rb', line 7

def show
  set_subtabs view_context.queue_names
end