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.
This commit is contained in:
Andy Allan 2018-03-28 13:50:26 +08:00
parent 1f2ac59d1d
commit a48633446b

View file

@ -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