diff --git a/app/views/memos/show.html.erb b/app/views/memos/show.html.erb index a8084d6d7..921a9d3c5 100644 --- a/app/views/memos/show.html.erb +++ b/app/views/memos/show.html.erb @@ -101,9 +101,8 @@ <%= raw @memo.content %>

<% if @memo.attachments.any?%> - <%# options = {:author => true} %> - <%= link_to_memo_attachments @memo, :author => true %> - <%#= render :partial => 'attachments/links', :locals => {:attachments => @memo.attachments, :options => options} %> + <% options = {:author => true} %> + <%= render :partial => 'attachments/links', :locals => {:attachments => @memo.attachments, :options => options} %> <% end %>

@@ -150,7 +149,7 @@

<% if reply.attachments.any?%> - <% options = {:author => true} %> + <% options = {:author => true, :deletable => true} %> <%= render :partial => 'attachments/links', :locals => {:attachments => reply.attachments, :options => options} %> <% end %>