I can upload many files including pdf etc, however could not upload xls files. I get a rollback error like File type must be one of(mime types that are in my shrine_uploader.rb) ['image/jpg', 'image/jpeg', 'image/png', 'image/gif','image/tiff', 'application/pdf', 'application/msword', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.ms-powerpoint', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/vnd.oasis.opendocument.spreadsheet ods', 'application/vnd.oasis.opendocument.spreadsheet-template ots']
Thanks for your answers.
Aucun commentaire:
Enregistrer un commentaire