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