lib/attached/storage/s3.rb in attached-0.0.9 vs lib/attached/storage/s3.rb in attached-0.1.0

- old
+ new

@@ -48,10 +48,10 @@ # * path - The path to save. def save(file, path) connect() begin - AWS::S3::S3Object.store(path, file, bucket, :access => :authenticated_read) + AWS::S3::S3Object.store(path, file, bucket, :access => :public_read) rescue AWS::S3::NoSuchBucket => e AWS::S3::Bucket.create(bucket) retry end end \ No newline at end of file