Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-22 12:48:52 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-22 12:48:52 +0400
commit86b939158a515f0ab9c6aed601dfe536176172e0 (patch)
treee982b453b27503c7075aa808765ef547bac9e73b
parentda88fca34c2ffa5259420d244ea6c1313f047186 (diff)
Fix 500 error on edit with ui
-rw-r--r--app/controllers/edit_tree_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/edit_tree_controller.rb b/app/controllers/edit_tree_controller.rb
index e3bd10ec758..9ed7a2143e4 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