]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node.rb
node.tags is now (apparently) the same as tags_as_hash.
[rails.git] / app / models / node.rb
index acd2519183fb3a88057d274524ee003178f38e98..5f41338198f8c7a75d1fd58d1904534b184edfba 100644 (file)
@@ -186,11 +186,7 @@ class Node < GeoRecord
   end
 
   def tags_as_hash
-    hash = {}
-    Tags.split(self.tags) do |k,v|
-      hash[k] = v
-    end
-    hash
+    return tags
   end
 
   def tags