Sha256: 04f51459b952153a5de69e9c7da02e601816ba6a7d6c3743b0e026a28b9f48ac

Contents?: true

Size: 171 Bytes

Versions: 4

Compression:

Stored size: 171 Bytes

Contents

class AttachmentFileUploader < AbAdmin::CarrierWave::BaseUploader
  def extension_white_list
    %w(pdf doc docx xls xlsx ppt pptx jpg jpeg gif png zip rar csv)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ab_admin-0.6.1 lib/generators/ab_admin/install/templates/uploaders/attachment_file_uploader.rb
ab_admin-0.6.0 lib/generators/ab_admin/install/templates/uploaders/attachment_file_uploader.rb
ab_admin-0.5.0 lib/generators/ab_admin/install/templates/uploaders/attachment_file_uploader.rb
ab_admin-0.4.0 lib/generators/ab_admin/install/templates/uploaders/attachment_file_uploader.rb