]> git.openstreetmap.org Git - rails.git/blobdiff - config/application.rb
fix build on wily; fix some moderation branch language constants
[rails.git] / config / application.rb
index 142e436c5162d72d59445cf71d7eae095e1866bf..be2cc0a99bb5813ef68fb761f1a8b49e388d2d97 100644 (file)
@@ -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