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:
parent
5adbc24cbe
commit
70bffb5b89
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue