]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/router.rb
Localisation updates from https://translatewiki.net.
[rails.git] / config / initializers / router.rb
index 0987fa0183fb5fd399237857e5e03a05ef54a3b4..4357a87f25f47ea0cc98c8da6d9f155ed8dad750 100644 (file)
@@ -1,7 +1,7 @@
 # Some versions of ruby seem to accidentally force the encoding
 # as part of normalize_path and some don't
 
-module OSM
+module OpenStreetMap
   module Router
     module ForceEncoding
       def normalize_path(path)
@@ -11,4 +11,4 @@ module OSM
   end
 end
 
-ActionDispatch::Journey::Router::Utils.singleton_class.prepend(OSM::Router::ForceEncoding)
+ActionDispatch::Journey::Router::Utils.singleton_class.prepend(OpenStreetMap::Router::ForceEncoding)