defunkt/resque — pull request #826 by trliner (2013-02-22 18:01:40+00:00)
Title: Redirect unauthorized resque-web polling requests to root url

This pull request fixes a minor annoyance that I've come across within resque-web:

If I'm polling resque-web in one tab and then impersonate a user that doesn't have access to resque-web in another tab, my logs get flooded with unauthorized requests. Instead of continuing the polling in that case, I think it would be better to redirect elsewhere.