Rails3: helper: replace … of page_header_title at ApplicationHelper to hexadecimal UTF-8 strings

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7582 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-10-06 11:02:24 +00:00
parent a84f877099
commit e76d89219b
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ module ApplicationHelper
root = ancestors.shift
b << link_to_project(root, {:jump => current_menu_item}, :class => 'root')
if ancestors.size > 2
b << '&#8230;'
b << "\xe2\x80\xa6"
ancestors = ancestors[-2, 2]
end
b += ancestors.collect {|p| link_to_project(p, {:jump => current_menu_item}, :class => 'ancestor') }