From 6b770fa70c87a8239feafb8f8db2de84a7bc6cf9 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 21 Feb 2009 11:10:34 +0000 Subject: [PATCH] Deprecated truncate call. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2495 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_list_simple.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/issues/_list_simple.rhtml b/app/views/issues/_list_simple.rhtml index 64c00e5a7..3391e0735 100644 --- a/app/views/issues/_list_simple.rhtml +++ b/app/views/issues/_list_simple.rhtml @@ -17,7 +17,7 @@ <%=h issue.project %> <%=h issue.tracker %> - <%= link_to h(truncate(issue.subject, 60)), :controller => 'issues', :action => 'show', :id => issue %> (<%=h issue.status %>) + <%= link_to h(truncate(issue.subject, :length => 60)), :controller => 'issues', :action => 'show', :id => issue %> (<%=h issue.status %>) <% end %>