Class: Decidim::NavigationMaps::Cw::BlueprintUploader
- Inherits:
-
Cw::ImageUploader
- Object
- Cw::ImageUploader
- Decidim::NavigationMaps::Cw::BlueprintUploader
- Defined in:
- app/uploaders/decidim/navigation_maps/cw/blueprint_uploader.rb
Overview
This class deals with uploading images to a Blueprints.
Instance Method Summary collapse
Instance Method Details
#extension_white_list ⇒ Object
14 15 16 |
# File 'app/uploaders/decidim/navigation_maps/cw/blueprint_uploader.rb', line 14 def extension_white_list %w(jpg jpeg png svg) end |
#max_image_height_or_width ⇒ Object
18 19 20 |
# File 'app/uploaders/decidim/navigation_maps/cw/blueprint_uploader.rb', line 18 def max_image_height_or_width 8000 end |