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