@results = []
# create parameter hash for "more results" link
- @more_params = params.merge(:exclude => more_url_params["exclude_place_ids"].first)
+ @more_params = params
+ .permit(:query, :minlon, :minlat, :maxlon, :maxlat, :exclude)
+ .merge(:exclude => more_url_params["exclude_place_ids"].first)
# parse the response
results.elements.each("place") do |place|