upload file's name support non-english words
This commit is contained in:
parent
8cc25ef94e
commit
ca23f27b5b
1
config/initializers/carrierwave.rb
Normal file
1
config/initializers/carrierwave.rb
Normal file
|
@ -0,0 +1 @@
|
||||||
|
CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/
|
Loading…
Reference in a new issue