Remove deprecated Import model (#34371)

This commit is contained in:
Matt Jankowski 2025-04-10 08:49:24 -04:00 committed by GitHub
parent e74d682b21
commit 4c2f64907b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 13 additions and 565 deletions

View file

@ -169,7 +169,7 @@ else
end
Rails.application.reloader.to_prepare do
Paperclip.options[:content_type_mappings] = { csv: Import::FILE_TYPES }
Paperclip.options[:content_type_mappings] = { csv: %w(text/plain text/csv application/csv) }
end
# In some places in the code, we rescue this exception, but we don't always