Permalink
Browse files

link to games profile page

  • Loading branch information...
1 parent 7754a49 commit 16ac3583953edd63cf4313a829f4a8dd94741c22 Dave Kroondyk committed Mar 18, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 app/views/athletes/index.html.erb
@@ -18,7 +18,7 @@
<% @athletes.each do |athlete| %>
<tr>
<td><%= athlete.name %></td>
- <td><%= athlete.url %></td>
+ <td><%= line_to athlete.url, "http://games.crossfit.com/#{athlete.url}" %></td>
<td><%= athlete.affiliate %></td>
<td><%= athlete.age %></td>
<td><%= athlete.w1 %></td>
@@ -30,4 +30,5 @@
</tr>
<% end %>
</tbody>
-</table>
+</table>
+

0 comments on commit 16ac358

Please sign in to comment.