X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/35c59bff0d8027411925d46203c608dbd742258e..648bb32791e647841997c74c16a4f88fe3a79d4c:/app/controllers/geocoder_controller.rb diff --git a/app/controllers/geocoder_controller.rb b/app/controllers/geocoder_controller.rb index b779d353e..fc8b3a60b 100644 --- a/app/controllers/geocoder_controller.rb +++ b/app/controllers/geocoder_controller.rb @@ -98,7 +98,7 @@ class GeocoderController < ApplicationController # create parameter hash for "more results" link @more_params = params - .permit(:query, :minlon, :minlat, :maxlon, :maxlat, :exclude, :xhr) + .permit(:query, :minlon, :minlat, :maxlon, :maxlat, :exclude) .merge(:exclude => more_url_params["exclude_place_ids"].first) # parse the response