Sha256: a10f8d4f299087ab9b17afd0fe59fb13fb67c037a778b27814883ed877dd1f0f

Contents?: true

Size: 234 Bytes

Versions: 4

Compression:

Stored size: 234 Bytes

Contents

module ResqueWeb
  class QueuesController < ApplicationController
    def show
      set_subtabs view_context.queue_names
    end

    def destroy
      Resque.remove_queue(params[:id])
      redirect_to queues_path
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
resque-web-0.0.4 app/controllers/resque_web/queues_controller.rb
resque-web-0.0.3 app/controllers/resque_web/queues_controller.rb
resque-web-0.0.2 app/controllers/resque_web/queues_controller.rb
resque-web-0.0.1 app/controllers/resque_web/queues_controller.rb