Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/repositories/revision.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12840 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-02-06 03:36:24 +00:00
parent b412f0cc00
commit 52e043d0e4
1 changed files with 1 additions and 1 deletions

View File

@ -96,6 +96,6 @@
<%
title = "#{l(:label_revision)} #{format_revision(@changeset)}"
title << " - #{truncate(@changeset.comments, :length => 80)}"
title << " - #{@changeset.comments.truncate(80)}"
html_title(title)
-%>