Sha256: af7d593036e1a33474672bae01cc74bd6f816be9f309915bd12f208f5a613b37
Contents?: true
Size: 265 Bytes
Versions: 9
Compression:
Stored size: 265 Bytes
Contents
module Logistics module Core class DocumentUploader < 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
9 entries across 9 versions & 1 rubygems