From a48633446bd6ee4402ed33eac27e381b0b5e5ba5 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 28 Mar 2018 13:50:26 +0800 Subject: [PATCH] Remove image_optim config loading override image_optim_rails loads the config files by default, and has a built-in mechanism for per-environment configs. Forcing the config loading in this way is unnecessary. --- config/application.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/application.rb b/config/application.rb index 9ba122daf..b6e2ba467 100644 --- a/config/application.rb +++ b/config/application.rb @@ -43,8 +43,5 @@ module OpenStreetMap config.logstasher.logger_path = LOGSTASH_PATH config.logstasher.log_controller_parameters = true end - - # Configure image optimisation - config.assets.image_optim = YAML.load_file(Rails.root.join("config", "image_optim.yml")) end end -- 2.39.5