]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/_trace.html.erb
We don't need the @notice hack - we can use flash.now to achieve the same thing.
[rails.git] / app / views / trace / _trace.html.erb
index 4e1733148c943fc1fc8c56aeb73a0bc89022336e..4cd40352a456849e1ad91a4da5776dd99e194255 100644 (file)
@@ -27,9 +27,7 @@
     <%= t'trace.trace.by' %> <%=link_to h(trace.user.display_name), {:controller => 'user', :action => 'view', :display_name => trace.user.display_name} %>
     <% if !trace.tags.empty? %>
       <%= t'trace.trace.in' %> 
-      <% trace.tags.each do |tag| %>
-        <%= link_to_tag tag.tag %>
-      <% end %>
+      <%= trace.tags.collect { |tag| link_to_tag tag.tag }.join(", ") %>
     <% end %>
   </td>
 </tr>