Rails3: view: html_safe for principals_options_for_select in ApplicationHelper

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9462 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-04-21 01:44:38 +00:00
parent 306af1d017
commit fcbeee78c1
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ module ApplicationHelper
unless groups.empty?
s << %(<optgroup label="#{h(l(:label_group_plural))}">#{groups}</optgroup>)
end
s
s.html_safe
end
# Truncates and returns the string as a single line