Raise profile photo size limit to 5mb
This commit is contained in:
parent
bde7172ba4
commit
d2d381eb90
|
@ -4,7 +4,7 @@ module AccountAvatar
|
|||
extend ActiveSupport::Concern
|
||||
|
||||
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].freeze
|
||||
LIMIT = 2.megabytes
|
||||
LIMIT = 5.megabytes
|
||||
|
||||
class_methods do
|
||||
def avatar_styles(file)
|
||||
|
|
Loading…
Reference in New Issue