diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-06 03:36:24 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-06 03:36:24 +0000 |
commit | 52e043d0e473cac019b263c924ab3a047583eab2 (patch) | |
tree | 22cc362457178760e697ef23c9bac0eca642f9ae /app/views | |
parent | b412f0cc0086a63b842bb8cc2e019b02da143d34 (diff) | |
download | redmine-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.erb | 2 |
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) -%> |