X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9544ab12b8237b4e471f03df981a189c80216c63..10e92b85a730836abe2d7c0564da0b5c55154f95:/app/models/old_relation.rb diff --git a/app/models/old_relation.rb b/app/models/old_relation.rb index 284efd09c..9f80a81b9 100644 --- a/app/models/old_relation.rb +++ b/app/models/old_relation.rb @@ -72,7 +72,7 @@ class OldRelation < ActiveRecord::Base def tags unless @tags @tags = Hash.new - self.tags.each do |tag| + self.old_tags.each do |tag| @tags[tag.k] = tag.v end end