]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/edit.html.erb
Merge remote-tracking branch 'upstream/pull/1798'
[rails.git] / app / views / trace / edit.html.erb
index 07e9820e6ada5894679561fab8a25a7c041cd3e8..b2254afddd01a11ed521fdf5343239a5ae9ec87b 100644 (file)
@@ -10,7 +10,7 @@
   <fieldset>
     <div class='form-row'>
       <label class='standard-label'><%= t'trace.edit.filename' %></label>
-      <p class='deemphasize'><%= @trace.name %> (<%= link_to t('trace.edit.download'), :controller => 'trace', :action => 'data', :id => @trace.id %>)</p>
+      <p class='deemphasize'><%= @trace.name %> (<%= link_to t('trace.edit.download'), trace_data_path(@trace) %>)</p>
     </div>
     <div class='form-row'>
       <label class='standard-label'><%= t'trace.edit.uploaded_at' %></label>