Fix file upload chinese filename

This commit is contained in:
manson 2014-06-19 17:10:12 +08:00
parent b571436f47
commit e3b6250c09
1 changed files with 1 additions and 0 deletions

View File

@ -0,0 +1 @@
CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/