app/uploaders/dorsale/avatar_uploader.rb in dorsale-3.0.3 vs app/uploaders/dorsale/avatar_uploader.rb in dorsale-3.1.0
- old
+ new
@@ -1,9 +1,7 @@
require "mini_magick"
-module Dorsale
- class AvatarUploader < ImageUploader
- include CarrierWave::MiniMagick
+class Dorsale::AvatarUploader < ::Dorsale::ImageUploader
+ include CarrierWave::MiniMagick
- process resize_to_fill: [200, 200]
- end
+ process resize_to_fill: [200, 200]
end