Class: Tomify::FileUploader
- Inherits:
-
Object
- Object
- Tomify::FileUploader
- Defined in:
- app/uploaders/tomify/file_uploader.rb
Instance Method Summary collapse
Instance Method Details
#filename ⇒ Object
2 3 4 |
# File 'app/uploaders/tomify/file_uploader.rb', line 2 def filename "#{model.uuid}.#{file.extension}" if original_filename.present? end |