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
This commit is contained in:
Jean-Philippe Lang
2009-07-18 07:51:17 +00:00
parent 1a9942ba99
commit d41bd93acb
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -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