This commit is contained in:
yanxd 2013-12-12 17:11:29 +08:00
parent 59b2c408e7
commit 767a6b36cb
1 changed files with 1 additions and 1 deletions

View File

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