scinote-web/config/initializers/aws.rb

6 lines
132 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2016-02-12 23:52:43 +08:00
if ENV['PAPERCLIP_STORAGE'] == 's3'
2016-02-12 23:52:43 +08:00
S3_BUCKET = Aws::S3::Resource.new.bucket(ENV['S3_BUCKET'])
end