changed s3 urls to using the folder convention

This commit is contained in:
Régis Hanol
2013-07-16 23:51:12 +02:00
parent 23a57c8d08
commit f40cad0f4b
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ module S3
end
def self.base_url
"//#{SiteSetting.s3_upload_bucket}.s3.amazonaws.com"
"//s3.amazonaws.com/#{SiteSetting.s3_upload_bucket}"
end
def self.remove_file(url)