]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_node.html.erb
Move mechanics of changeset subscriptions into the model
[rails.git] / app / views / browse / _node.html.erb
index 3fd30a94c21f4f47c1e029f84cf8631e66970dff..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| %>
           <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 => element_class("way", way), :title => link_title(way) } %></li>
+              <li><%= element_single_current_link "way", way, way_path(way) %></li>
             <% end %>
           </ul>
         </details>
             <% end %>
           </ul>
         </details>