]> git.openstreetmap.org Git - rails.git/commitdiff
node.tags is now (apparently) the same as tags_as_hash.
authorChristopher Schmidt <crschmidt@crschmidt.net>
Mon, 12 May 2008 01:22:04 +0000 (01:22 +0000)
committerChristopher Schmidt <crschmidt@crschmidt.net>
Mon, 12 May 2008 01:22:04 +0000 (01:22 +0000)
app/models/node.rb

index acd2519183fb3a88057d274524ee003178f38e98..5f41338198f8c7a75d1fd58d1904534b184edfba 100644 (file)
@@ -186,11 +186,7 @@ class Node < GeoRecord
   end
 
   def tags_as_hash
   end
 
   def tags_as_hash
-    hash = {}
-    Tags.split(self.tags) do |k,v|
-      hash[k] = v
-    end
-    hash
+    return tags
   end
 
   def tags
   end
 
   def tags