X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb953006a1a8fe2949f376e167dda963dfd784bd..bc883cb9269c12cd9ccad0707e498daa2863ae27:/app/controllers/api/nodes_controller.rb?ds=sidebyside 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