Skip to content

Commit

Permalink
Fix white screen on Dead tab, fixes sidekiq#2429
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jul 10, 2015
1 parent 5adbc24 commit 70bffb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq/web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def custom_tabs
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
Expand Down

0 comments on commit 70bffb5

Please sign in to comment.