OSDN Git Service

Deprecated truncate call.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 21 Feb 2009 11:10:34 +0000 (11:10 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 21 Feb 2009 11:10:34 +0000 (11:10 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2495 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_list_simple.rhtml

index 64c00e5..3391e07 100644 (file)
@@ -17,7 +17,7 @@
                        <td class="project"><%=h issue.project %></td>
                        <td class="tracker"><%=h issue.tracker %></td>
                        <td class="subject">
-        <%= 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 %>)
       </td>
                </tr>
                <% end %>