]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_node.html.erb
Merge pull request #4535 from tomhughes/rails-tokens
[rails.git] / app / views / browse / _node.html.erb
index cc8597292d058f3360daef8a77c23af97a2507ba..6c6c1fdf32a32b12bd09ebfade54e2524b8e708e 100644 (file)
@@ -17,7 +17,7 @@
           <summary><%= t "browse.part_of_ways", :count => node.ways.uniq.count %></summary>
           <ul class="list-unstyled">
             <% node.ways.uniq.each do |way| %>
-              <li><%= link_to printable_name(way), way_path(way), { :class => link_class("way", way), :title => link_title(way) } %></li>
+              <li><%= element_single_current_link "way", way, way_path(way) %></li>
             <% end %>
           </ul>
         </details>