Sha256: 11b4012941a3fffb79aa145fe1032fe3d491623927fcc006a890ebf22bc65ca1

Contents?: true

Size: 185 Bytes

Versions: 2

Compression:

Stored size: 185 Bytes

Contents

# frozen_string_literal: true

class AttachmentFileUploader < Sunrise::CarrierWave::BaseUploader
  def extension_white_list
    %w[pdf doc docx xls xlsx ppt pptx zip rar csv]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sunrise-cms-1.1.1 lib/generators/sunrise/templates/uploaders/attachment_file_uploader.rb
sunrise-cms-1.1.0 lib/generators/sunrise/templates/uploaders/attachment_file_uploader.rb