|
|
|
@ -33,7 +33,7 @@
|
|
|
|
|
<%= raw @memo.content %>
|
|
|
|
|
<p>
|
|
|
|
|
<% if @memo.attachments.any?%>
|
|
|
|
|
<% options = {:author => true, :deletable => reply.deleted_attach_able_by?(User.current) } %>
|
|
|
|
|
<% options = {:author => true, :deletable => @memo.deleted_attach_able_by?(User.current) } %>
|
|
|
|
|
<%= render :partial => 'attachments/links', :locals => {:attachments => @memo.attachments, :options => options} %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</p>
|
|
|
|
|