Permalink
Browse files

make athlete name a hyperlink to athlete page

  • Loading branch information...
1 parent 1c1b5da commit 76b411e39fa58092449258413f8c0b90691da6cd @mikepmunroe committed Mar 19, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 app/views/athletes/index.html.erb
View
4 app/views/athletes/index.html.erb
@@ -17,9 +17,7 @@
<tbody>
<% @athletes.each do |athlete| %>
<tr>
- <td><%= athlete.name %></td>
- <td><%= link_to athlete.url, "http://games.crossfit.com#{athlete.url}" %></td>
- <td><%= athlete.affiliate %></td>
+ <td><%= link_to athlete.name, "http://games.crossfit.com#{athlete.url}" %></td>
<td><%= athlete.age %></td>
<td><%= athlete.w1 %></td>
<td><%= athlete.w2 %></td>

0 comments on commit 76b411e

Please sign in to comment.