Override the conf for active_storage

This commit is contained in:
gregoirenovel 2018-02-15 14:30:18 +01:00
parent 5746ba29da
commit 732af26946

View file

@ -0,0 +1,4 @@
# FIXME: remove this once we moved to a properly structured infrastructure
if Rails.env.production? || Rails.env.staging?
Rails.application.config.active_storage.service = :clever_cloud
end