Class: RedactorRailsDocumentUploader
- Inherits:
-
CarrierWave::Uploader::Base
- Object
- CarrierWave::Uploader::Base
- RedactorRailsDocumentUploader
- Includes:
- RedactorRails::Backend::CarrierWave
- Defined in:
- lib/redactor_rails_document_uploader.rb,
lib/generators/redactor/templates/base/carrierwave/uploaders/redactor_rails_document_uploader.rb
Instance Method Summary collapse
Methods included from RedactorRails::Backend::CarrierWave
Instance Method Details
#extension_white_list ⇒ Object
12 13 14 |
# File 'lib/redactor_rails_document_uploader.rb', line 12 def extension_white_list RedactorRails.document_file_types end |
#store_dir ⇒ Object
8 9 10 |
# File 'lib/redactor_rails_document_uploader.rb', line 8 def store_dir "system/redactor_assets/documents/#{model.id}" end |