Fix white list cerfa and piece_justificative uploader
This commit is contained in:
parent
eeaefdcc79
commit
0d211f4ccb
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue