Sha256: 768ae6e5e6cdfa7a0786355813ccfcf5e5da2a56804bfb32e2cb88f8197fb189
Contents?: true
Size: 379 Bytes
Versions: 6
Compression:
Stored size: 379 Bytes
Contents
# Set correct paths module CustomFields module Types module File class FileUploader < ::CarrierWave::Uploader::Base def store_dir puts "sites/#{model.site_id}/contents/#{model.class.model_name.underscore}/#{model.id}/files" end def cache_dir "#{Rails.root}/tmp/uploads" end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems