summaryrefslogtreecommitdiffstats
path: root/app/views/issues/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/show.rhtml')
-rw-r--r--app/views/issues/show.rhtml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml
index 6d6c41a33..5c174e05b 100644
--- a/app/views/issues/show.rhtml
+++ b/app/views/issues/show.rhtml
@@ -67,9 +67,7 @@ end %>
<%= textilizable @issue, :description, :attachments => @issue.attachments %>
</div>
-<% if @issue.attachments.any? %>
-<%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %>
-<% end %>
+<%= link_to_attachments @issue %>
<% if authorize_for('issue_relations', 'new') || @issue.relations.any? %>
<hr />