From d2d381eb900fef21547ca27c1ea56312ef1cb395 Mon Sep 17 00:00:00 2001 From: Fosco Marotto Date: Sun, 17 Jan 2021 13:15:53 -0500 Subject: [PATCH] Raise profile photo size limit to 5mb --- app/models/concerns/account_avatar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/account_avatar.rb b/app/models/concerns/account_avatar.rb index 5fff3ef5..afa3e876 100644 --- a/app/models/concerns/account_avatar.rb +++ b/app/models/concerns/account_avatar.rb @@ -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)