From a9e53531d3ecd951052d5693ee61ae51fd606a3e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 26 Dec 2014 12:08:55 +0000 Subject: [PATCH] Fixed duplicate content_url tag introduced in r13806 (#18707). git-svn-id: http://svn.redmine.org/redmine/trunk@13813 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/attachments_helper.rb | 1 - 1 file changed, 1 deletion(-) 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 -- 2.39.5