sufia-models/app/models/sufia/avatar_uploader.rb in sufia-4.0.1 vs sufia-models/app/models/sufia/avatar_uploader.rb in sufia-4.1.0

- old
+ new

@@ -1,21 +1,20 @@ 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 - "/assets/missing_#{version_name}.png" + "missing_#{version_name}.png" end def extension_white_list %w(jpg jpeg png gif bmp tif tiff) end - end