<p>Hi - there's a bug in the edited version of <code>_common_details.html.erb</code> line 20 - if I go to <code>/way/11032776</code> I get a NoMethodError for <code>way_id</code>. If I change <code>way_id</code> to <code>id</code> then <code>/way/11032776</code> works again... but it breaks <code>/way/11032776/history/4</code>! I don't think this Pull Request is safe yet...</p>
<p>Also note that <code>_common_details.html.erb</code> is supposed to be common to all object types: nodes, ways, relations. Therefore you can't directly just refer to <code>:way_version</code> or <code>way_id</code> as you currently do - because it creates further problems: when I go to <code>/node/98316992</code> your patch adds an extra link, but the link is to <code>/way/98316992/history/6</code> which is wrong (should say <code>node</code> not <code>way</code>).</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/720#issuecomment-39255494'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMjAwMzgyNiwiZGF0YSI6eyJpZCI6Mjc3MjYwNjR9fQ==--64ababa07bbd61c89fee4d55731371d13f6a3591.gif' height='1' width='1'></p>