]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/router.rb
Save lat/lon to input data attributes
[rails.git] / config / initializers / router.rb
index 4357a87f25f47ea0cc98c8da6d9f155ed8dad750..849aba2ad15f428785b83f457b0141933dbdfd7a 100644 (file)
@@ -5,7 +5,7 @@ module OpenStreetMap
   module Router
     module ForceEncoding
       def normalize_path(path)
-        super(path).force_encoding("UTF-8")
+        super.force_encoding("UTF-8")
       end
     end
   end