From: Jean-Philippe Lang Date: Fri, 26 Dec 2014 12:08:55 +0000 (+0000) Subject: Fixed duplicate content_url tag introduced in r13806 (#18707). X-Git-Tag: 3.0.0~186 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a9e53531d3ecd951052d5693ee61ae51fd606a3e;p=redmine.git Fixed duplicate content_url tag introduced in r13806 (#18707). git-svn-id: http://svn.redmine.org/redmine/trunk@13813 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/attachments_helper.rb b/app/helpers/attachments_helper.rb index ed362e2e8..05fdec9f7 100644 --- a/app/helpers/attachments_helper.rb +++ b/app/helpers/attachments_helper.rb @@ -57,7 +57,6 @@ module AttachmentsHelper if attachment.thumbnailable? api.thumbnail_url thumbnail_url(attachment) end - api.content_url download_named_attachment_url(attachment, attachment.filename) api.author(:id => attachment.author.id, :name => attachment.author.name) if attachment.author api.created_on attachment.created_on end