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
14 15 16 |
# File 'app/uploaders/hyrax/avatar_uploader.rb', line 14 def extension_whitelist %w[jpg jpeg png gif bmp tif tiff] end |