Sha256: a72d425be5ac79e38c09331d270e154857dbaa549ffb0e5e4b9c05d4ae8420bd
Contents?: true
Size: 259 Bytes
Versions: 2
Compression:
Stored size: 259 Bytes
Contents
class AvatarUploader < AbAdmin::CarrierWave::BaseUploader process quality: 80 version :thumb do process resize_to_fill: [80, 80, 'North'] end def extension_allowlist %w(jpg jpeg gif png) end #def move_to_cache # true #end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ab_admin-0.11.0 | lib/generators/ab_admin/install/templates/uploaders/avatar_uploader.rb |
ab_admin-0.10.0 | lib/generators/ab_admin/install/templates/uploaders/avatar_uploader.rb |