diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-24 20:58:12 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-24 20:58:12 +0000 |
commit | 097b0e7a4d893ef5e6a091ebac72645b1c7ee256 (patch) | |
tree | 6ad36a10635f6d613b4a19667561974b73354aba | |
parent | 6dab391932ef31af465342b75ae8b3578aa86f65 (diff) | |
download | redmine-097b0e7a4d893ef5e6a091ebac72645b1c7ee256.tar.gz redmine-097b0e7a4d893ef5e6a091ebac72645b1c7ee256.zip |
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
-rw-r--r-- | app/views/documents/_document.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <p><em><%= format_time(document.updated_on) %></em></p> <div class="wiki"> - <%= textilizable(truncate_lines(document.description)) %> + <%= textilizable(truncate_lines(document.description), :object => document) %> </div> |