From 70ab59354fd614c5aab3e3cad23ab8e9e7e94032 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 6 Feb 2014 03:36:40 +0000 Subject: [PATCH] Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/issues/_list_simple.html.erb git-svn-id: http://svn.redmine.org/redmine/trunk@12841 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_list_simple.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/issues/_list_simple.html.erb b/app/views/issues/_list_simple.html.erb index 2b5c22b76..9885ef06a 100644 --- a/app/views/issues/_list_simple.html.erb +++ b/app/views/issues/_list_simple.html.erb @@ -17,7 +17,7 @@ <%= link_to_project(issue.project) %> <%= issue.tracker %> - <%= link_to(truncate(issue.subject, :length => 60), issue_path(issue)) %> (<%= issue.status %>) + <%= link_to(issue.subject.truncate(60), issue_path(issue)) %> (<%= issue.status %>) <% end %>