summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-06 03:34:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-06 03:34:27 +0000
commitae087d7578564a2b2ed40da7e38d840c39751312 (patch)
tree822ba7bf011666c63b81aa9ef61249d845f7725c /app
parentfd6fea57136b86187181b338cae128d5a7b80d03 (diff)
downloadredmine-ae087d7578564a2b2ed40da7e38d840c39751312.tar.gz
redmine-ae087d7578564a2b2ed40da7e38d840c39751312.zip
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at ApplicationHelper#parse_redmine_links
git-svn-id: http://svn.redmine.org/redmine/trunk@12833 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index e4e929717..8f6442d28 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -781,7 +781,7 @@ module ApplicationHelper
{:only_path => only_path, :controller => 'issues',
:action => 'show', :id => oid, :anchor => anchor},
:class => issue.css_classes,
- :title => "#{truncate(issue.subject, :length => 100)} (#{issue.status.name})")
+ :title => "#{issue.subject.truncate(100)} (#{issue.status.name})")
end
when 'document'
if document = Document.visible.find_by_id(oid)