Class: TicketFileUploader

Inherits:
Sunrise::CarrierWave::BaseUploader
  • Object
show all
Defined in:
app/uploaders/ticket_file_uploader.rb

Constant Summary collapse

ALLOWED_EXTENSIONS =
%w[pdf rtf txt doc docx odt zip gz png jpg gif rar xls xlsx csv ppt jpeg tar
pptx att odp htm html xht xhtml potx xltx odg ods otp ots ott xml].freeze

Instance Method Summary collapse

Instance Method Details

#extension_white_listObject



9
10
11
# File 'app/uploaders/ticket_file_uploader.rb', line 9

def extension_white_list
  ALLOWED_EXTENSIONS
end