From b2d4666bf1f742a7eb9e79ce8ae00b27ac392bce Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 28 May 2007 12:15:19 +0000 Subject: [PATCH] Attachments can be displayed inline in Documents git-svn-id: http://redmine.rubyforge.org/svn/trunk@552 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/documents/show.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml index 74b8f343..4bf09f3d 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) %>