summaryrefslogtreecommitdiffstats
path: root/app/views/documents/show.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-05-01 16:08:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-05-01 16:08:51 +0000
commit5cc597e394a76fc03c9a8897d8eac9ded4cb10ea (patch)
treebea9865bca236f82812981d5c6117d3df8b0face /app/views/documents/show.html.erb
parent5a3b9037333e4ff6f3727b0fb058b560be38240a (diff)
downloadredmine-5cc597e394a76fc03c9a8897d8eac9ded4cb10ea.tar.gz
redmine-5cc597e394a76fc03c9a8897d8eac9ded4cb10ea.zip
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
Diffstat (limited to 'app/views/documents/show.html.erb')
-rw-r--r--app/views/documents/show.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
<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>