diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-06 03:36:40 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-06 03:36:40 +0000 |
commit | 70ab59354fd614c5aab3e3cad23ab8e9e7e94032 (patch) | |
tree | 772302904ecd4ad03765d2fad7ac82a42b57fef5 /app | |
parent | 52e043d0e473cac019b263c924ab3a047583eab2 (diff) | |
download | redmine-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.erb | 2 |
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 %> |