Sha256: fe8642a62b32509d1f967b9a949cb4d5bb1dba6eff818a90fc210648f499abf4
Contents?: true
Size: 349 Bytes
Versions: 8
Compression:
Stored size: 349 Bytes
Contents
# frozen_string_literal: true module Decidim # This class deals with uploading record specific images that have more # limited content types than the defaults. class RecordImageUploader < ImageUploader def content_type_whitelist %w(image/jpeg image/png) end def extension_whitelist %w(jpeg jpg png) end end end
Version data entries
8 entries across 8 versions & 1 rubygems