X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/df11677afd55ef592330a05c43ed4baa81b60572..697449d6f1976bdc31862e1508311620da246729:/app/models/node.rb diff --git a/app/models/node.rb b/app/models/node.rb index acd251918..5f4133819 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -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