Class: Decidim::NavigationMaps::Cw::BlueprintUploader

Inherits:
Cw::ImageUploader
  • Object
show all
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_listObject



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_widthObject



18
19
20
# File 'app/uploaders/decidim/navigation_maps/cw/blueprint_uploader.rb', line 18

def max_image_height_or_width
  8000
end