Class: ThecoreSettings::Uploads::CarrierWaveUploader

Inherits:
CarrierWave::Uploader::Base
  • Object
show all
Defined in:
lib/thecore_settings/storage/carrier_wave_uploader.rb

Instance Method Summary collapse

Instance Method Details

#extension_white_listObject



4
5
6
# File 'lib/thecore_settings/storage/carrier_wave_uploader.rb', line 4

def extension_white_list
  %w(jpg jpeg gif png tiff psd ai txt rtf doc docx xls xlsx ppt pptx odt odx zip rar 7z pdf)
end