about summary refs log tree commit diff
path: root/app/views/players
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/players')
-rw-r--r--app/views/players/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/players/index.html.erb b/app/views/players/index.html.erb
index 67717e0..744e1cd 100644
--- a/app/views/players/index.html.erb
+++ b/app/views/players/index.html.erb
@@ -4,7 +4,7 @@
 <ul>
   <% @players.each do |player| %>
     <li>
-      <%= link_to player.name, edit_player_path(player) %>
+      <%= link_to player.name, player %>
     </li>
   <% end %>
 </ul>