From: Shaun McDonald Date: Mon, 2 Jun 2008 15:13:29 +0000 (+0000) Subject: Fixing indentation X-Git-Tag: live~8182^2~332 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/0c2d503f1e95d2b8488604a6b9863e529513bc9a Fixing indentation --- diff --git a/app/models/node.rb b/app/models/node.rb index b027f2fd4..e610758aa 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -109,11 +109,11 @@ class Node < GeoRecord tags = self.tags NodeTag.delete_all(['id = ?', self.id]) tags.each do |k,v| - tag = NodeTag.new - tag.k = k - tag.v = v - tag.id = self.id - tag.save! + tag = NodeTag.new + tag.k = k + tag.v = v + tag.id = self.id + tag.save! end # Create an OldNode