summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-11-27 10:34:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-11-27 10:34:44 +0000
commit4a6a551d074ce0680540a28f7c393733afa43422 (patch)
tree6012bef2044a4db509477fe297fdbe2f4c01cd87 /app/controllers
parentd180c833b90f5419aae48ddcc4912562f0455d7f (diff)
downloadredmine-4a6a551d074ce0680540a28f7c393733afa43422.tar.gz
redmine-4a6a551d074ce0680540a28f7c393733afa43422.zip
Fixed: Missing template wiki/update.erb error introduced in r4272 (#6987).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4429 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/wiki_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb
index ae6f9d166..e7e389306 100644
--- a/app/controllers/wiki_controller.rb
+++ b/app/controllers/wiki_controller.rb
@@ -125,6 +125,8 @@ class WikiController < ApplicationController
render_attachment_warning_if_needed(@page)
call_hook(:controller_wiki_edit_after_save, { :params => params, :page => @page})
redirect_to :action => 'show', :project_id => @project, :id => @page.title
+ else
+ render :action => 'edit'
end
rescue ActiveRecord::StaleObjectError