Sha256: 2712fa8b93ba51c7680e34e9d8a4ef1d6f9c83e76ca33191d07661abeef9030b
Contents?: true
Size: 410 Bytes
Versions: 31
Compression:
Stored size: 410 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 default_url "missing_#{version_name}.png" end def extension_white_list %w(jpg jpeg png gif bmp tif tiff) end end
Version data entries
31 entries across 31 versions & 2 rubygems