cryo28 / sidekiq_status

Extension to Sidekiq to pass job execution metadata such as status and result back to the client
MIT License
152 stars 53 forks source link

Fix redirect issues in Sidekiq 4.2+ #43

Closed ncuesta closed 8 years ago

ncuesta commented 8 years ago

This makes conditional the use of Sinatra's #to method in the controllers of the Web UI, as this method is not present in the new, non-Sinatra-based web UI. Depending on the presence of that method, this gem's controllers will make redirects using the Sinatra way or the (uglier) string-concatenating way.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 98.099% when pulling c6fce73d9fcbbeecee8a186d7cc6b10a083a50e5 on ncuesta:fix-redirect-issues into b8a05aa935de0317c1ed8e0574008595b6e119fb on cryo28:master.