]> source.dussan.org Git - redmine.git/commitdiff
Fixed: "obj" parameter is not defined for macros used in description of documents...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 1 May 2013 16:08:51 +0000 (16:08 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 1 May 2013 16:08:51 +0000 (16:08 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11761 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/documents/show.html.erb

index ee58909364160d6ded4176ec9664bf558314fe4a..a8aea63daacc5960303ecf678f94de802cc2ef3b 100644 (file)
@@ -12,7 +12,7 @@
 <p><em><%=h @document.category.name %><br />
 <%= format_date @document.created_on %></em></p>
 <div class="wiki">
-<%= textilizable @document.description, :attachments => @document.attachments %>
+<%= textilizable @document, :description, :attachments => @document.attachments %>
 </div>
 
 <h3><%= l(:label_attachment_plural) %></h3>