demarches-normaliennes/app/uploaders/base_uploader.rb
2018-09-04 16:07:59 +02:00

5 lines
129 B
Ruby

class BaseUploader < CarrierWave::Uploader::Base
def cache_dir
Rails.application.secrets.carrierwave[:cache_dir]
end
end