summaryrefslogtreecommitdiffstats
path: root/app/helpers/attachments_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-26 12:08:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-26 12:08:55 +0000
commita9e53531d3ecd951052d5693ee61ae51fd606a3e (patch)
tree91fc273a27ac7080d52fa9a894007abb66132e33 /app/helpers/attachments_helper.rb
parent88ec93ab747ae9f9f80dd2666e65d55ba49dc31c (diff)
downloadredmine-a9e53531d3ecd951052d5693ee61ae51fd606a3e.tar.gz
redmine-a9e53531d3ecd951052d5693ee61ae51fd606a3e.zip
Fixed duplicate content_url tag introduced in r13806 (#18707).
git-svn-id: http://svn.redmine.org/redmine/trunk@13813 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/attachments_helper.rb')
-rw-r--r--app/helpers/attachments_helper.rb1
1 files changed, 0 insertions, 1 deletions
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