1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix white screen on Dead tab, fixes #2429

This commit is contained in:
Mike Perham 2015-07-10 09:29:31 -07:00
parent 5adbc24cbe
commit 70bffb5b89

View file

@ -100,7 +100,7 @@ module Sidekiq
end
post '/morgue' do
halt 404 unless params['key']
redirect request.path unless params['key']
params['key'].each do |key|
job = Sidekiq::DeadSet.new.fetch(*parse_params(key)).first