提交 86b93915 编写于 作者: D Dmitriy Zaporozhets

Fix 500 error on edit with ui

上级 da88fca3
......@@ -25,7 +25,7 @@ class EditTreeController < ProjectResourceController
redirect_to project_blob_path(@project, @id), notice: "Your changes have been successfully commited"
else
flash[:notice] = "Your changes could not be commited, because the file has been changed"
render :edit
render :show
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册