X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1f7bd08f4a8a6a626a0c1d7ed60f2dcd6a6801e8..8445561fccd13404568910fdde56ddf4d7b19a18:/app/views/trace/edit.html.erb diff --git a/app/views/trace/edit.html.erb b/app/views/trace/edit.html.erb index da273b0eb..b2254afdd 100644 --- a/app/views/trace/edit.html.erb +++ b/app/views/trace/edit.html.erb @@ -4,13 +4,13 @@ -<%= form_for @trace, :url => { :action => "edit" } do |f| %> +<%= form_for @trace, :method => :post, :url => { :action => "edit" } do |f| %>
-

<%= @trace.name %> (<%= link_to t('trace.edit.download'), :controller => 'trace', :action => 'data', :id => @trace.id %>)

+

<%= @trace.name %> (<%= link_to t('trace.edit.download'), trace_data_path(@trace) %>)

@@ -32,7 +32,7 @@ <% end %>
-

<%= 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) %>