Sha256: 2924a05a5589692397a95c218ddd6814cf8e1db100096a7ce42848f0bd77ff11
Contents?: true
Size: 350 Bytes
Versions: 2
Compression:
Stored size: 350 Bytes
Contents
class Sufia::AvatarUploader < CarrierWave::Uploader::Base include CarrierWave::MiniMagick include CarrierWave::Compatibility::Paperclip version :medium do process resize_to_limit: [300, 300] end version :thumb do process resize_to_limit: [100, 100] end def extension_whitelist %w(jpg jpeg png gif bmp tif tiff) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sufia-7.4.1 | app/uploaders/sufia/avatar_uploader.rb |
sufia-7.4.0 | app/uploaders/sufia/avatar_uploader.rb |