mercredi 29 avril 2015

Restrict s3_direct_upload to specific filetypes

I have a quick question. I'm using the s3_direct_upload gem to facilitate uploads to my s3 bucket. I'd like to restrict uploads to PDFs only. How can I go about this?

Thanks!




Aucun commentaire:

Enregistrer un commentaire