X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ebbcf63f0d910458ae255a84de794e3ccede7a7a..1f007b289c0597a098166c9327edca7d990c9e4e:/app/views/trace/_trace.html.erb diff --git a/app/views/trace/_trace.html.erb b/app/views/trace/_trace.html.erb index d38fa2f4c..4cd40352a 100644 --- a/app/views/trace/_trace.html.erb +++ b/app/views/trace/_trace.html.erb @@ -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_with_index do |tag, index| %> - <%= link_to_tag tag.tag %><%=', ' if index+1 < trace.tags.count %> - <% end %> + <%= trace.tags.collect { |tag| link_to_tag tag.tag }.join(", ") %> <% end %>