X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..6e981a9fcbea4db27a1428a88c012e64f9e8e4b6:/config/application.rb diff --git a/config/application.rb b/config/application.rb index 142e436c5..be2cc0a99 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}/config/image_optim.yml") end end