Fix 500 error on edit with ui

This commit is contained in:
Dmitriy Zaporozhets 2013-04-22 11:48:52 +03:00
parent da88fca34c
commit 86b939158a
1 changed files with 1 additions and 1 deletions

View File

@ -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