]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_member.rhtml
link from member object to the member page
[rails.git] / app / views / browse / _member.rhtml
index f3b6cf0ddaf44d606b51538a1a4237316b1c333b..104c7e1f99774b81e0b1114f5cab7f534ca85ba3 100644 (file)
@@ -1,6 +1,6 @@
 <% if member.member.visible %>
 <tr>
-  <td><%= h(member.member.id.to_s) %></td>
+  <td><%= link_to member.member.id.to_s, :controller => member.member_type, :id => member.member.id %></td>
   <td><%= h(member.member_type) %></td>
   <td><%= h(member.member_role) %></td>
 </tr>