]> source.dussan.org Git - redmine.git/commitdiff
Fixed duplicate content_url tag introduced in r13806 (#18707).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 26 Dec 2014 12:08:55 +0000 (12:08 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 26 Dec 2014 12:08:55 +0000 (12:08 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13813 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/attachments_helper.rb

index ed362e2e8438116413243ce28c3ca4dcadcf5b3f..05fdec9f769113a78238bce0e1165dc8c7befbee 100644 (file)
@@ -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