link from member object to the member page
authorChristopher Schmidt <crschmidt@crschmidt.net>
Sun, 20 Apr 2008 14:29:49 +0000 (14:29 +0000)
committerChristopher Schmidt <crschmidt@crschmidt.net>
Sun, 20 Apr 2008 14:29:49 +0000 (14:29 +0000)
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>