Rails3: use String#html_safe for render_flash_messages() at ApplicationHelper.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6476 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-20 10:51:38 +00:00
parent 86379d8203
commit e1d7cf27bf
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ module ApplicationHelper
flash.each do |k,v|
s << content_tag('div', v, :class => "flash #{k}")
end
s
s.html_safe
end
# Renders tabs and their content