Sha256: d66b8d3f29f0e4196e48e38413ff4462b4df11aff469689500b0b85dfa9ef15c
Contents?: true
Size: 194 Bytes
Versions: 27
Compression:
Stored size: 194 Bytes
Contents
# frozen_string_literal: true class FileUploader < ApplicationUploader def extension_whitelist model.class.file_extensions || %w[pdf doc docx xls csv xlsx jpg svg png jpeg gif] end end
Version data entries
27 entries across 27 versions & 1 rubygems