]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node.rb
Add padding between the last diary post and the pagination links
[rails.git] / app / models / node.rb
index fb9bdf68b0dd700b27c55b39fe4b4885cbced563..f4367e45954edf51964b903ce54b733c89f8de0b 100644 (file)
@@ -185,8 +185,8 @@ class Node < ActiveRecord::Base
     add_metadata_to_xml_node(el, self, changeset_cache, user_display_name_cache)
 
     if visible?
-      el["lat"] = format("%.7f", lat)
-      el["lon"] = format("%.7f", lon)
+      el["lat"] = lat.to_s
+      el["lon"] = lon.to_s
     end
 
     add_tags_to_xml_node(el, node_tags)