summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-06 03:36:24 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-06 03:36:24 +0000
commit52e043d0e473cac019b263c924ab3a047583eab2 (patch)
tree22cc362457178760e697ef23c9bac0eca642f9ae /app/views
parentb412f0cc0086a63b842bb8cc2e019b02da143d34 (diff)
downloadredmine-52e043d0e473cac019b263c924ab3a047583eab2.tar.gz
redmine-52e043d0e473cac019b263c924ab3a047583eab2.zip
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
Diffstat (limited to 'app/views')
-rw-r--r--app/views/repositories/revision.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb
index a5fe87246..d945972f5 100644
--- a/app/views/repositories/revision.html.erb
+++ b/app/views/repositories/revision.html.erb
@@ -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)
-%>