Comment out filename in FIleAssetUploader

This commit is contained in:
Christophe Vilayphiou 2012-05-17 23:34:15 +08:00
parent 2f7d561310
commit a0ad1f59b6
1 changed files with 3 additions and 3 deletions

View File

@ -48,8 +48,8 @@ class FileAssetUploader < CarrierWave::Uploader::Base
# end # end
# Override the filename of the uploaded files: # Override the filename of the uploaded files:
def filename # def filename
model.filename # model.filename.force_encoding("UTF-8")
end # end
end end