summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-06 03:36:08 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-06 03:36:08 +0000
commitb412f0cc0086a63b842bb8cc2e019b02da143d34 (patch)
tree18021c2139556e49ced50d51453e67f0c0e7fe5e /app
parent3d7748108161db07d5bbd18b30ca8033a4f80ee9 (diff)
downloadredmine-b412f0cc0086a63b842bb8cc2e019b02da143d34.tar.gz
redmine-b412f0cc0086a63b842bb8cc2e019b02da143d34.zip
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/repositories/_dir_list_content.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12839 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/repositories/_dir_list_content.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/_dir_list_content.html.erb b/app/views/repositories/_dir_list_content.html.erb
index dcee3dfc1..21f205ad7 100644
--- a/app/views/repositories/_dir_list_content.html.erb
+++ b/app/views/repositories/_dir_list_content.html.erb
@@ -25,7 +25,7 @@
<td class="revision"><%= link_to_revision(entry.changeset, @repository) if entry.changeset %></td>
<td class="age"><%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %></td>
<td class="author"><%= entry.author %></td>
-<td class="comments"><%= truncate(entry.changeset.comments, :length => 50) if entry.changeset %></td>
+<td class="comments"><%= entry.changeset.comments.truncate(50) if entry.changeset %></td>
<% end %>
</tr>
<% end %>