今天在一个删除操作的异常处理中增加了一个redirect_to,运行后产生了一个错误提示:
“Render and/or redirect were called multiple times in this action...”
原因确实像上面所说,Rails的API文档中也有明确说明。
“Render and/or redirect were called multiple times in this action...”
原因确实像上面所说,Rails的API文档中也有明确说明。