]> git.openstreetmap.org Git - rails.git/commitdiff
Link trace owner to their user page.
authorTom Hughes <tom@compton.nu>
Sun, 26 Aug 2007 23:04:17 +0000 (23:04 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 26 Aug 2007 23:04:17 +0000 (23:04 +0000)
app/views/trace/view.rhtml

index fd3986a44edccfee118c4d116053feaf806c5b25..1ad563729e13639feb800257fd616e6869a18b98 100644 (file)
@@ -22,7 +22,7 @@
   <% end %>
   <tr>
     <td>Owner:</td>
   <% end %>
   <tr>
     <td>Owner:</td>
-    <td><%= link_to @trace.user.display_name, {:controller => 'trace', :action => 'view', :display_name => @trace.user.display_name} %></td>
+    <td><%= link_to @trace.user.display_name, {:controller => 'user', :action => 'view', :display_name => @trace.user.display_name} %></td>
   </tr>
   <tr>
     <td>Description:</td>
   </tr>
   <tr>
     <td>Description:</td>