refacto: remove unused small variant

This commit is contained in:
Eric Leroy-Terquem 2024-05-06 15:50:19 +02:00
parent db8de9e657
commit 3d5e0043a6
No known key found for this signature in database
GPG key ID: ECE60B4C1FA2ABB3
2 changed files with 0 additions and 2 deletions

View file

@ -2,7 +2,6 @@ class Champs::PieceJustificativeChamp < Champ
FILE_MAX_SIZE = 200.megabytes
has_many_attached :piece_justificative_file do |attachable|
attachable.variant :small, resize: '300x300'
attachable.variant :medium, resize: '400x400'
end

View file

@ -3,7 +3,6 @@ class Champs::TitreIdentiteChamp < Champ
ACCEPTED_FORMATS = ['image/png', 'image/jpeg']
has_many_attached :piece_justificative_file do |attachable|
attachable.variant :small, resize: '300x300'
attachable.variant :medium, resize: '400x400'
end