X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0f5ad1f3cc5d82efef93d2d17809145c5f68f233..7dbf8d83369cb73929080c4ba23fdd7dcd0184df:/app/views/trace/view.html.erb diff --git a/app/views/trace/view.html.erb b/app/views/trace/view.html.erb index 351c69227..8fc17a1f2 100644 --- a/app/views/trace/view.html.erb +++ b/app/views/trace/view.html.erb @@ -13,7 +13,7 @@
<%= t'trace.view.filename' %> | -<%= @trace.name %> (<%= link_to t('trace.view.download'), :controller => 'trace', :action => 'data', :id => @trace.id %>) | +<%= @trace.name %> (<%= link_to t('trace.view.download'), trace_data_path(@trace) %>) |
<%= t'trace.view.uploaded' %> | @@ -30,7 +30,7 @@ <% end %>||
<%= t'trace.view.owner' %> | -<%= link_to h(@trace.user.display_name), {:controller => 'user', :action => 'view', :display_name => @trace.user.display_name} %> | +<%= link_to h(@trace.user.display_name), user_path(@trace.user) %> |
<%= t'trace.view.description' %> | @@ -57,8 +57,8 @@ <% if current_user && (current_user==@trace.user || current_user.administrator? || current_user.moderator?)%> <% end %>