Replace respond_to with respond_with