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