<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1172#discussion_r54962650">app/views/site/id.html.erb</a>:</p>
<pre style='color:#555'>> @@ -23,7 +23,7 @@
>        .imagery(iD.data.imagery)
>        .taginfo(iD.services.taginfo())
>        .embed(true)
> -      .assetPath("/iD/") <%# Cant use asset_path('iD/') in production. %>
> +      .assetPath("iD/")
>        .assetMap(<%= assets("iD").to_json.html_safe %>)
</pre>
<p>So, funny thing.  I don't think our current code was using the <code>assetMap</code> at all.  I watch what iD does in Chrome dev tools and it fetches all the assets from <code>/iD/</code> because of that line.  There is a symlink from <code>/public/iD</code> -> <code>/vendor/assets/iD</code> which seems kind of hacky.</p>

<p>Going forward I <em>think</em> it will use the assetMap, because <code>1. we precompile everything and 2. resources in the map don't have the leading slash</code>.</p>

<p>That comment goes way back from before we even supported the assetMap call and has gone through several revisions in what path it refers to.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1172/files#r54962650">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLS_9Kl5yIyLobCbSpJZKiDWqw-uXks5pp2YRgaJpZM4Ho24p.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/pull/1172/files#r54962650"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>