]> git.openstreetmap.org Git - rails.git/blobdiff - config/application.rb
Adjust rubocop threshold
[rails.git] / config / application.rb
index be2cc0a99bb5813ef68fb761f1a8b49e388d2d97..5ff166beb1ab86812c100eb18d6d376534e857da 100644 (file)
@@ -58,6 +58,6 @@ module OpenStreetMap
     end
 
     # Configure image optimisation
-    config.assets.image_optim = YAML.load_file("#{Rails.root}/config/image_optim.yml")
+    config.assets.image_optim = YAML.load_file(Rails.root.join("config", "image_optim.yml"))
   end
 end