Fixing indentation
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Mon, 2 Jun 2008 15:13:29 +0000 (15:13 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Mon, 2 Jun 2008 15:13:29 +0000 (15:13 +0000)
app/models/node.rb

index b027f2fd49f47bfacab2e9581fa0761c676626d2..e610758aa12bbc5d7beb1759c2a7c410a8a70bfa 100644 (file)
@@ -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