]> git.openstreetmap.org Git - rails.git/commitdiff
Fix indentation.
authorTom Hughes <tom@compton.nu>
Sun, 3 Feb 2008 15:38:53 +0000 (15:38 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 3 Feb 2008 15:38:53 +0000 (15:38 +0000)
app/controllers/api_controller.rb

index 36ce88acd135e7a8cfe56d98b36dd5a1fe9c8cbb..c17ff679854075f34760a13bfea6cf7971f1fecb 100644 (file)
@@ -132,11 +132,11 @@ class ApiController < ApplicationController
     ways = Array.new
     if node_ids.length > 0
       way_nodes = WayNode.find_all_by_node_id(node_ids)
-      way_ids = way_nodes.collect {|way_node| way_node.id[0] }
+      way_ids = way_nodes.collect { |way_node| way_node.id[0] }
       ways = Way.find(way_ids)
 
       list_of_way_nodes = ways.collect { |way|
-             way.way_nodes.collect { |way_node| way_node.node_id }
+        way.way_nodes.collect { |way_node| way_node.node_id }
       }
       list_of_way_nodes.flatten!