Class: Decidim::Cw::AttachmentUploader
- Inherits:
-
ApplicationUploader
- Object
- CarrierWave::Uploader::Base
- ApplicationUploader
- Decidim::Cw::AttachmentUploader
- Defined in:
- decidim-core/app/uploaders/decidim/cw/attachment_uploader.rb
Overview
This class deals with uploading attachments to a participatory space.
Instance Method Summary collapse
Methods inherited from ApplicationUploader
#downloader, #provider, set_variants, #store_dir, #variant, variants
Instance Method Details
#max_image_height_or_width ⇒ Object
20 21 22 |
# File 'decidim-core/app/uploaders/decidim/cw/attachment_uploader.rb', line 20 def max_image_height_or_width 8000 end |
#validable_dimensions ⇒ Object
9 10 11 |
# File 'decidim-core/app/uploaders/decidim/cw/attachment_uploader.rb', line 9 def validable_dimensions true end |