refacto: remove unused small variant
This commit is contained in:
parent
db8de9e657
commit
3d5e0043a6
2 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue