Use respond_with rather than redirect_to