From 5cc597e394a76fc03c9a8897d8eac9ded4cb10ea Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 1 May 2013 16:08:51 +0000 Subject: [PATCH] Fixed: "obj" parameter is not defined for macros used in description of documents (#13821). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11761 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/documents/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb index ee5890936..a8aea63da 100644 --- a/app/views/documents/show.html.erb +++ b/app/views/documents/show.html.erb @@ -12,7 +12,7 @@

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

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

<%= l(:label_attachment_plural) %>

-- 2.39.5