]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/view.html.erb
Fix incorrect link generation that relied on default routes
[rails.git] / app / views / trace / view.html.erb
index 1f272b271df0a41b15ae1bb2577c4402add5669a..5a7c5bcc6c909d090d76dd90a3f277d8d80d514c 100644 (file)
@@ -52,7 +52,7 @@
 
 <br /><br />
 
-<% if_user(@trace.user) do %>
+<%= if_user(@trace.user) do %>
   <table>
     <tr>
       <td><%= button_to t('trace.view.edit_track'), :controller => 'trace', :action => 'edit', :id => @trace.id %></td>