|
|
|
@ -5690,7 +5690,8 @@ end
|
|
|
|
|
|
|
|
|
|
def download_named_attachment_url_without_domain(id, filename, option={})
|
|
|
|
|
attachment_id = (Attachment === id ? id.id : id)
|
|
|
|
|
Setting.protocol + "://" + Setting.host_name + "/attachments/download/" + attachment_id.to_s + "/" + filename
|
|
|
|
|
# Setting.protocol + "://" + Setting.host_name + "/attachments/download/" + attachment_id.to_s + "/" + filename
|
|
|
|
|
Setting.protocol + "://" + Setting.host_name + "/attachments/" + attachment_id.to_s
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def named_attachment_url_without_domain(id, filename, option={})
|
|
|
|
|