Skip to content

Commit dc583ce

Browse files
authored
Merge pull request #2237 from jonodrew/patch-carrierwave
Update uploaders to use 'aws' rather than 's3'
2 parents 4cba05d + 63b6020 commit dc583ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/uploaders/avatar_uploader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# encoding: utf-8
22

33
class AvatarUploader < CarrierWave::Uploader::Base
4-
storage :s3 if Rails.env.production?
4+
storage :aws if Rails.env.production?
55

66
include CarrierWave::MiniMagick
77

app/uploaders/image_uploader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class ImageUploader < CarrierWave::Uploader::Base
2-
storage :s3 if Rails.env.production?
2+
storage :aws if Rails.env.production?
33

44
# Include RMagick or MiniMagick support:
55
include CarrierWave::MiniMagick

0 commit comments

Comments
 (0)