exceptionHandle
yanxd 12 years ago
parent 59b2c408e7
commit 767a6b36cb

@ -33,7 +33,7 @@
<%= raw @memo.content %> <%= raw @memo.content %>
<p> <p>
<% if @memo.attachments.any?%> <% 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} %> <%= render :partial => 'attachments/links', :locals => {:attachments => @memo.attachments, :options => options} %>
<% end %> <% end %>
</p> </p>

Loading…
Cancel
Save