diff --git a/app/controllers/edit_tree_controller.rb b/app/controllers/edit_tree_controller.rb index e3bd10ec75831484696a2b0573856c14ea4055a2..9ed7a2143e41f189da7d732611172181810ef274 100644 --- a/app/controllers/edit_tree_controller.rb +++ b/app/controllers/edit_tree_controller.rb @@ -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