]> git.openstreetmap.org Git - rails.git/commitdiff
Link the username in the user list to their profile
authorTom Hughes <tom@compton.nu>
Fri, 7 May 2010 08:03:12 +0000 (09:03 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 7 May 2010 08:03:12 +0000 (09:03 +0100)
app/views/user/_user.html.erb

index 66f6cd3bc0d4d2d1b92aeb83428b1c3e4314998d..2779f87623facc82c2b41a5544064961d47c033f 100644 (file)
@@ -7,7 +7,7 @@
   <td>
     <p>
       <%= t 'user.list.summary',
-          :name => h(user.display_name),
+          :name => link_to(h(user.display_name), :action => "view", :display_name => user.display_name),
           :ip_address => link_to(user.creation_ip, :ip => user.creation_ip),
           :date => l(user.creation_time, :format => :friendly)
       %>