Fixed redirect_to :back when no HTTP_REFERER present