Sha256: e8b255c7f54823097d75438d313a24af9010a37ea724f8908cc6f212f781ce14
Contents?: true
Size: 420 Bytes
Versions: 1
Compression:
Stored size: 420 Bytes
Contents
class GiLogFileCarrierWaveUploader < CarrierWave::Uploader::Base def store_dir "#{Rails.env}/uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}" end # def extension_white_list # %w(txt csv) # end def filename if original_filename.present? "#{original_filename}" end end def fog_public false end def fog_authenticated_url_expiration 5.minutes end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gi_job-0.1.3 | lib/generators/gi_job/install/templates/uploaders/gi_log_file_carrier_wave_uploader.rb |