diff app/views/repositories/_dir_list_content.html.erb @ 1517:dffacf8a6908 redmine-2.5

Update to Redmine SVN revision 13367 on 2.5-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:29:00 +0100
parents 433d4f72a19b
children a1bdbf8a87d5
line wrap: on
line diff
--- a/app/views/repositories/_dir_list_content.html.erb	Tue Sep 09 09:28:31 2014 +0100
+++ b/app/views/repositories/_dir_list_content.html.erb	Tue Sep 09 09:29:00 2014 +0100
@@ -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"><%=h 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 %>