class DraftUploader
This CarrierWave uploader is used to steal incoming files off of draftable objects, and store them on a DraftUpload
for later use.
Public Instance Methods
cache_dir()
click to toggle source
Directory where uploaded temp files will be stored (default is [root]/tmp)
# File lib/drafter/draft_uploader.rb, line 18 def cache_dir "system/draft_uploads/tmp" end
store_dir()
click to toggle source
Directory where uploaded files will be stored (default is /public/uploads)
# File lib/drafter/draft_uploader.rb, line 11 def store_dir "system/draft_uploads/#{model.to_param}" end