Raise group avatar filesize limit to 200kb, fixes #8527

This commit is contained in:
Robert Schilling 2015-01-02 14:54:51 +01:00
parent ac1584249c
commit 05dd6309ba
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class Group < Namespace
has_many :users, through: :group_members
validate :avatar_type, if: ->(user) { user.avatar_changed? }
validates :avatar, file_size: { maximum: 100.kilobytes.to_i }
validates :avatar, file_size: { maximum: 200.kilobytes.to_i }
mount_uploader :avatar, AttachmentUploader