Make sensible redirects in controllers.