fix s3_cdn_url when the s3 bucket contains a folder

This commit is contained in:
Andrew Schleifer
2018-05-22 16:21:52 -05:00
parent ea7ffac17e
commit 4be0e31459
3 changed files with 26 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ class S3Helper
class SettingMissing < StandardError; end
attr_reader :s3_bucket_name
attr_reader :s3_bucket_name, :s3_bucket_folder_path
def initialize(s3_bucket_name, tombstone_prefix = '', options = {})
@s3_options = default_s3_options.merge(options)