[openstreetmap/openstreetmap-website] Simplify handling of geocoder URLs (PR #4922)
Tom Hughes
notifications at github.com
Tue Jun 25 16:59:41 UTC 2024
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.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4922
-- Commit Summary --
* Simplify handling of geocoder URLs
-- File Changes --
M app/controllers/geocoder_controller.rb (20)
M app/views/geocoder/search.html.erb (3)
M config/locales/en.yml (3)
M test/http/nominatim.yml (6)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4922.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4922.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4922
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4922 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240625/3881d18c/attachment.htm>
More information about the rails-dev
mailing list