summaryrefslogtreecommitdiffstats
path: root/app/helpers/projects_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-20 22:53:01 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-20 22:53:01 +0000
commita8bcfc5c7a9ea6f6f008464a1da263c027682081 (patch)
treec91d3e268e6965716655d9df75037a2eb3d6cecc /app/helpers/projects_helper.rb
parentb8d16b9b8dd93204e84973a32e38504991a60efe (diff)
downloadredmine-a8bcfc5c7a9ea6f6f008464a1da263c027682081.tar.gz
redmine-a8bcfc5c7a9ea6f6f008464a1da263c027682081.zip
Rails3: use String#html_safe for render_project_hierarchy() at ProjectsHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6493 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index f26e7b9d8..2ba14bef4 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -80,7 +80,7 @@ module ProjectsHelper
s << ("</li></ul>\n" * ancestors.size)
@project = original_project
end
- s
+ s.html_safe
end
# Returns a set of options for a select field, grouped by project.