Module: Bizside::Uploader::ExtensionWhitelist

Extended by:
ActiveSupport::Concern
Included in:
FileUploader
Defined in:
lib/bizside/uploader/extension_whitelist.rb

Instance Method Summary collapse

Instance Method Details

#extension_allowlistObject



12
13
14
15
16
# File 'lib/bizside/uploader/extension_whitelist.rb', line 12

def extension_allowlist
  return nil unless Bizside.config.file_uploader.extension_whitelist_enabled?
      
  @@extensions
end