Move redirect_to() to the request object.