X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb953006a1a8fe2949f376e167dda963dfd784bd..0db30c611a99d62381217d86c5a0bd9d104efb42:/app/controllers/api/nodes_controller.rb?ds=inline diff --git a/app/controllers/api/nodes_controller.rb b/app/controllers/api/nodes_controller.rb index 8a8068e7e..2962ce070 100644 --- a/app/controllers/api/nodes_controller.rb +++ b/app/controllers/api/nodes_controller.rb @@ -32,7 +32,7 @@ module Api if @node.visible # Render the result - render formats: [:xml] + render :formats => [:xml] else head :gone end @@ -73,7 +73,7 @@ module Api @nodes = Node.find(ids) # Render the result - render formats: [:xml] + render :formats => [:xml] end end end