Updated GroupCoverImage to have max 5MB
• Updated: - GroupCoverImage to have max 5MB
This commit is contained in:
parent
1526fee5a1
commit
baee8d1141
@ -3,7 +3,7 @@
|
|||||||
module GroupCoverImage
|
module GroupCoverImage
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
LIMIT = 4.megabytes
|
LIMIT = 5.megabytes
|
||||||
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].freeze
|
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].freeze
|
||||||
|
|
||||||
class_methods do
|
class_methods do
|
||||||
|
Loading…
Reference in New Issue
Block a user