<p dir="auto">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.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4922'>https://github.com/openstreetmap/openstreetmap-website/pull/4922</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4922/commits/271384e683bfbee1ee3377f36df07e48bff5e39f" class="commit-link">271384e</a>  Simplify handling of geocoder URLs</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4922/files">4 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4922/files#diff-bf845b955a0aeb626484399330d9c39183e734c9a56a3900e71fa48b0da47f81">app/controllers/geocoder_controller.rb</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4922/files#diff-0fda7af799e96a856b82f014f6734dda379619f2aa888f3c2ece221854ad5d4c">app/views/geocoder/search.html.erb</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4922/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4922/files#diff-ff9654dea7d64d51fd6ff745bea61ec9e9d825fea5da13207a54b52cbd4b4a45">test/http/nominatim.yml</a>
    (6)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4922.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4922.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4922.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4922.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4922">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIYUNNZMYRV3LDED2DZJGOX3AVCNFSM6AAAAABJ4H5HDSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TGMJXGY2TCMQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLKSWIGA276ET45ZRV3ZJGOX3A5CNFSM6AAAAABJ4H5HDSWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHI246MYA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4922</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4922",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4922",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>