exceptionHandle
yanxd 12 years ago
parent 59b2c408e7
commit 767a6b36cb

@ -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>

Loading…
Cancel
Save