lib/locomotive/custom_fields.rb in locomotive_cms-0.0.4.beta12 vs lib/locomotive/custom_fields.rb in locomotive_cms-0.0.4
- old
+ new
@@ -3,9 +3,10 @@
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"