From b2d4666bf1f742a7eb9e79ce8ae00b27ac392bce 2007-05-28 12:15:19 From: Jean-Philippe Lang Date: 2007-05-28 12:15:19 Subject: [PATCH] Attachments can be displayed inline in Documents git-svn-id: http://redmine.rubyforge.org/svn/trunk@552 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml index 74b8f34..4bf09f3 100644 --- a/app/views/documents/show.rhtml +++ b/app/views/documents/show.rhtml @@ -7,7 +7,7 @@

<%= @document.category.name %>
<%= format_date @document.created_on %>

-<%= textilizable @document.description %> +<%= textilizable @document.description, :attachments => @document.attachments %>

<%= l(:label_attachment_plural) %>