add file upload

This commit is contained in:
bee0005
2016-08-22 09:41:25 +00:00
parent 10c12d39e8
commit cbfa6976c7
13 changed files with 93 additions and 12 deletions

View File

@@ -0,0 +1,2 @@
# Allow non-ascii letters in uploaded filenames
CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/