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:
parent
b412f0cc00
commit
52e043d0e4
|
@ -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)
|
||||
-%>
|
||||
|
|
Loading…
Reference in New Issue