engine/spec/dummy/config/initializers/carrierwave.rb

9 lines
175 B
Ruby

CarrierWave.configure do |config|
config.cache_dir = File.join(Rails.root, 'tmp', 'uploads')
config.storage = :file
config.root = File.join(Rails.root, 'public')
end