summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-07-18 07:51:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-07-18 07:51:17 +0000
commitd41bd93acbea908676302a975aa8c52e1fbed0d4 (patch)
tree3d81aa7abe8fcb497d272594dae149e3f6a50b24 /app
parent1a9942ba9952d8b38111a18e01225e8cf14a88a1 (diff)
downloadredmine-d41bd93acbea908676302a975aa8c52e1fbed0d4.tar.gz
redmine-d41bd93acbea908676302a975aa8c52e1fbed0d4.zip
Fixed: error raised when trying to add an empty comment to a news (#3615).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2820 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/news_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/news_controller.rb b/app/controllers/news_controller.rb
index 9fc9f5b6a..a8ad716ee 100644
--- a/app/controllers/news_controller.rb
+++ b/app/controllers/news_controller.rb
@@ -64,6 +64,7 @@ class NewsController < ApplicationController
flash[:notice] = l(:label_comment_added)
redirect_to :action => 'show', :id => @news
else
+ show
render :action => 'show'
end
end