allow_macros_in_documents.diff

Pierre-Louis Bonicoli, 2013-04-20 05:25

Download (592 Bytes)

View differences:

app/views/documents/show.html.erb (working copy)
12 12
<p><em><%=h @document.category.name %><br />
13 13
<%= format_date @document.created_on %></em></p>
14 14
<div class="wiki">
15
<%= textilizable @document.description, :attachments => @document.attachments %>
15
<%= textilizable @document.description, :object => @document, :attachments => @document.attachments %>
16 16
</div>
17 17

  
18 18
<h3><%= l(:label_attachment_plural) %></h3>