demarches-normaliennes/app/uploaders/base_uploader.rb

6 lines
129 B
Ruby
Raw Normal View History

class BaseUploader < CarrierWave::Uploader::Base
def cache_dir
Rails.application.secrets.carrierwave[:cache_dir]
end
2017-04-04 15:27:04 +02:00
end