Sha256: b324bc5d3dc5768a139e3988566a25269afccbd47f1c2a16e656e2fca07abcf1
Contents?: true
Size: 262 Bytes
Versions: 13
Compression:
Stored size: 262 Bytes
Contents
module Ecom module Core class TaskAttachmentUploader < CarrierWave::Uploader::Base storage :file def store_dir "#{ENV.fetch('UPLOAD_PREFIX')}uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}" end end end end
Version data entries
13 entries across 13 versions & 1 rubygems