X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/35c59bff0d8027411925d46203c608dbd742258e..17b18fcb816f26953a05742d2101cef99df87d30:/app/controllers/geocoder_controller.rb?ds=sidebyside 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