X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/16fef14b61f4cf5222484b7c315ed05c661cbcef..9af32c9ad4c92e1132fc391965bc84defa5e9577:/app/views/traces/show.html.erb?ds=sidebyside
diff --git a/app/views/traces/show.html.erb b/app/views/traces/show.html.erb
index 59c8a0a1f..178cfbe73 100644
--- a/app/views/traces/show.html.erb
+++ b/app/views/traces/show.html.erb
@@ -40,7 +40,7 @@
<%= t '.tags' %> |
<% unless @trace.tags.empty? %>
- <%= raw(@trace.tags.collect { |tag| link_to tag.tag, { :controller => 'traces', :action => 'list', :tag => tag.tag, :id => nil } }.join(", ")) %>
+ <%= raw(@trace.tags.collect { |tag| link_to tag.tag, { :controller => 'traces', :action => 'index', :tag => tag.tag, :id => nil } }.join(", ")) %>
<% else %>
<%= t '.none' %>
<% end %>
@@ -57,8 +57,8 @@
<% if current_user && (current_user==@trace.user || current_user.administrator? || current_user.moderator?)%>
<% if current_user == @trace.user %>
- <%= link_to t('.edit_track'), edit_trace_path(@trace), :class => "button" %>
+ <%= link_to t('.edit_trace'), edit_trace_path(@trace), :class => "button" %>
<% end %>
- <%= button_to t('.delete_track'), { :controller => 'traces', :action => 'delete', :id => @trace.id }, :data => { :confirm => t('.confirm_delete') } %>
+ <%= button_to t('.delete_trace'), { :controller => 'traces', :action => 'delete', :id => @trace.id }, :data => { :confirm => t('.confirm_delete') } %>
<% end %>
|