Fix typo in paperclip.rb (#5936)

lolsob-rspec
THE BOSS ♨ 2017-12-09 13:59:59 +09:00 committed by Yamagishi Kazutoshi
parent a6fdeedb47
commit 33b40397f8
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ if ENV['S3_ENABLED'] == 'true'
s3_region = ENV.fetch('S3_REGION') { 'us-east-1' } s3_region = ENV.fetch('S3_REGION') { 'us-east-1' }
s3_protocol = ENV.fetch('S3_PROTOCOL') { 'https' } s3_protocol = ENV.fetch('S3_PROTOCOL') { 'https' }
s3_hostname = ENV.fetch('S3_HOSTNAME') { "s3-#{s3_region}}.amazonaws.com" } s3_hostname = ENV.fetch('S3_HOSTNAME') { "s3-#{s3_region}.amazonaws.com" }
Paperclip::Attachment.default_options.merge!( Paperclip::Attachment.default_options.merge!(
storage: :s3, storage: :s3,