Commit 86b939158a515f0ab9c6aed601dfe536176172e0

Authored by Dmitriy Zaporozhets
1 parent da88fca3

Fix 500 error on edit with ui

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/edit_tree_controller.rb
... ... @@ -25,7 +25,7 @@ class EditTreeController < ProjectResourceController
25 25 redirect_to project_blob_path(@project, @id), notice: "Your changes have been successfully commited"
26 26 else
27 27 flash[:notice] = "Your changes could not be commited, because the file has been changed"
28   - render :edit
  28 + render :show
29 29 end
30 30 end
31 31  
... ...