diff --git a/app/uploaders/cerfa_uploader.rb b/app/uploaders/cerfa_uploader.rb index 70622a9c8..a0fe6b7d5 100644 --- a/app/uploaders/cerfa_uploader.rb +++ b/app/uploaders/cerfa_uploader.rb @@ -39,7 +39,7 @@ class CerfaUploader < CarrierWave::Uploader::Base # Add a white list of extensions which are allowed to be uploaded. # For images you might use something like this: def extension_white_list - %w(pdf doc docxxls xlsx ppt pptx odt ods odp) + %w(pdf doc docx xls xlsx ppt pptx odt ods odp) end # Override the filename of the uploaded files: diff --git a/app/uploaders/piece_justificative_uploader.rb b/app/uploaders/piece_justificative_uploader.rb index 597a39086..76a1269e4 100644 --- a/app/uploaders/piece_justificative_uploader.rb +++ b/app/uploaders/piece_justificative_uploader.rb @@ -39,7 +39,7 @@ class PieceJustificativeUploader < CarrierWave::Uploader::Base # Add a white list of extensions which are allowed to be uploaded. # For images you might use something like this: def extension_white_list - %w(pdf doc docxxls xlsx ppt pptx odt ods odp) + %w(pdf doc docx xls xlsx ppt pptx odt ods odp) end # Override the filename of the uploaded files: