summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-06 03:36:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-06 03:36:40 +0000
commit70ab59354fd614c5aab3e3cad23ab8e9e7e94032 (patch)
tree772302904ecd4ad03765d2fad7ac82a42b57fef5 /app
parent52e043d0e473cac019b263c924ab3a047583eab2 (diff)
downloadredmine-70ab59354fd614c5aab3e3cad23ab8e9e7e94032.tar.gz
redmine-70ab59354fd614c5aab3e3cad23ab8e9e7e94032.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/_list_simple.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
<td class="project"><%= link_to_project(issue.project) %></td>
<td class="tracker"><%= issue.tracker %></td>
<td class="subject">
- <%= link_to(truncate(issue.subject, :length => 60), issue_path(issue)) %> (<%= issue.status %>)
+ <%= link_to(issue.subject.truncate(60), issue_path(issue)) %> (<%= issue.status %>)
</td>
</tr>
<% end %>