From: Jean-Philippe Lang Date: Thu, 24 Nov 2011 20:58:12 +0000 (+0000) Subject: Use document project when formatting text on documents index (#9448). X-Git-Tag: 1.3.0~93 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=097b0e7a4d893ef5e6a091ebac72645b1c7ee256;p=redmine.git Use document project when formatting text on documents index (#9448). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7919 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/documents/_document.html.erb b/app/views/documents/_document.html.erb index c1079ca0a..91bed442f 100644 --- a/app/views/documents/_document.html.erb +++ b/app/views/documents/_document.html.erb @@ -2,5 +2,5 @@

<%= format_time(document.updated_on) %>

- <%= textilizable(truncate_lines(document.description)) %> + <%= textilizable(truncate_lines(document.description), :object => document) %>