app/views/opportunities/_edit_attachment.erb
<li> <%= attachment.upload.raw_filename %><br /> <a href='<%= opportunity_attachment_path(@opportunity, attachment) %>' data-method='delete' data-remote class='remove_attachment js-remove-attachment'>× <span><%= t('destroy') %></span></a></li>