Missed a bit of the Paperclip revert

This commit is contained in:
Mike Barnes 2018-06-11 17:10:04 +10:00
parent 8641260c5f
commit 17e94e322f

View file

@ -14,8 +14,7 @@ Paperclip::Attachment.default_options.merge!(
)
if ENV['S3_ENABLED'] == 'true'
require 'aws-sdk'
Aws.eager_autoload!(services: %w(S3))
require 'aws-sdk-s3'
s3_region = ENV.fetch('S3_REGION') { 'us-east-1' }
s3_protocol = ENV.fetch('S3_PROTOCOL') { 'https' }