X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/82cefb5929ad2d3945da43040279626336e44ee6..30f9f95ef6f6fd0fa91e343094cdd5309213ff7a:/config/application.rb?ds=sidebyside diff --git a/config/application.rb b/config/application.rb index 142e436c5..5ff166beb 100644 --- a/config/application.rb +++ b/config/application.rb @@ -56,5 +56,8 @@ 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