Class: SimpleContentManagement::ImageUploader
- Inherits:
-
CarrierWave::Uploader::Base
- Object
- CarrierWave::Uploader::Base
- SimpleContentManagement::ImageUploader
- Includes:
- CarrierWave::MiniMagick
- Defined in:
- app/models/simple_content_management/image_uploader.rb
Instance Method Summary collapse
Instance Method Details
#extension_white_list ⇒ Object
10 11 12 |
# File 'app/models/simple_content_management/image_uploader.rb', line 10 def extension_white_list RedactorRails.image_file_types end |
#store_dir ⇒ Object
6 7 8 |
# File 'app/models/simple_content_management/image_uploader.rb', line 6 def store_dir "system/redactor_assets/pictures/#{model.id}" end |