]> git.openstreetmap.org Git - rails.git/commit
Simplify handling of geocoder URLs
authorTom Hughes <tom@compton.nu>
Tue, 25 Jun 2024 16:57:38 +0000 (17:57 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 25 Jun 2024 16:57:38 +0000 (17:57 +0100)
commit271384e683bfbee1ee3377f36df07e48bff5e39f
tree2db8a92d22ba0a9c5ab42581f351366851ee9976
parentddc252016a42c076c4f8dd8d0efd1caf055eb518
Simplify handling of geocoder URLs

This avoids having to build them in multiple places and also
ensures we link to what was actually searched rather than some
random string from the locale file.
app/controllers/geocoder_controller.rb
app/views/geocoder/search.html.erb
config/locales/en.yml
test/http/nominatim.yml