lib/generators/locomotive/install/templates/carrierwave.rb in locomotive_cms-2.0.3 vs lib/generators/locomotive/install/templates/carrierwave.rb in locomotive_cms-2.1.0
- old
+ new
@@ -10,13 +10,13 @@
when :production
# the following configuration works for Amazon S3
config.storage = :fog
config.fog_credentials = {
- :provider => 'AWS',
- :aws_access_key_id => ENV['S3_KEY_ID'],
- :aws_secret_access_key => ENV['S3_SECRET_KEY'],
- :region => ENV['S3_BUCKET_REGION']
+ provider: 'AWS',
+ aws_access_key_id: ENV['S3_KEY_ID'],
+ aws_secret_access_key: ENV['S3_SECRET_KEY'],
+ region: ENV['S3_BUCKET_REGION']
}
config.fog_directory = ENV['S3_BUCKET']
else
# settings for the local filesystem
\ No newline at end of file