From 5cc597e394a76fc03c9a8897d8eac9ded4cb10ea 2013-05-01 16:08:51 From: Jean-Philippe Lang Date: 2013-05-01 16:08:51 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 --- diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb index ee58909..a8aea63 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) %>