]> git.openstreetmap.org Git - rails.git/commitdiff
Fix OldRelation.tags
authorTom Hughes <tom@compton.nu>
Wed, 4 Dec 2013 17:41:21 +0000 (17:41 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 4 Dec 2013 17:41:21 +0000 (17:41 +0000)
app/models/old_relation.rb

index 284efd09cf6288d27ef0b7af5d329ad119a244ae..9f80a81b9fc6b1e1edd32523a93073e6fe7863af 100644 (file)
@@ -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