X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6c51b3cc0ad7e193c7dae3794502088faab37c7b..1eab367de5950af5396756dbf09cc9bd3edc3b8f:/app/controllers/api_controller.rb?ds=inline diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index cc9e32266..2c442c190 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -128,9 +128,6 @@ class ApiController < ApplicationController end @nodes = Node.bbox(bbox).where(:visible => true).includes(:node_tags).limit(MAX_NUMBER_OF_NODES+1) - # get all the nodes, by tag not yet working, waiting for change from NickB - # need to be @nodes (instance var) so tests in /spec can be performed - #@nodes = Node.search(bbox, params[:tag]) node_ids = @nodes.collect(&:id) if node_ids.length > MAX_NUMBER_OF_NODES