Class: Hyrax::AvatarUploader
- Inherits:
-
CarrierWave::Uploader::Base
- Object
- CarrierWave::Uploader::Base
- Hyrax::AvatarUploader
- Includes:
- CarrierWave::Compatibility::Paperclip, CarrierWave::MiniMagick
- Defined in:
- app/uploaders/hyrax/avatar_uploader.rb
Instance Method Summary collapse
Instance Method Details
#extension_whitelist ⇒ Object
13 14 15 |
# File 'app/uploaders/hyrax/avatar_uploader.rb', line 13 def extension_whitelist %w[jpg jpeg png gif bmp tif tiff] end |