From: Toshi MARUYAMA Date: Thu, 6 Oct 2011 11:02:24 +0000 (+0000) Subject: Rails3: helper: replace … of page_header_title at ApplicationHelper to hexadeci... X-Git-Tag: 1.3.0~401 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e76d89219b78f2c6f06e119f046da20bdf6f10bb;p=redmine.git 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 --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 25592c46f..f553641bb 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 << '…' + b << "\xe2\x80\xa6" ancestors = ancestors[-2, 2] end b += ancestors.collect {|p| link_to_project(p, {:jump => current_menu_item}, :class => 'ancestor') }