diff options
Diffstat (limited to 'app/views/players/index.html.erb')
-rw-r--r-- | app/views/players/index.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/players/index.html.erb b/app/views/players/index.html.erb index cedaad3..67717e0 100644 --- a/app/views/players/index.html.erb +++ b/app/views/players/index.html.erb @@ -1,9 +1,10 @@ <h1>Pinball Players</h1> +<p><%= @players.count %> available players</p> <ul> <% @players.each do |player| %> <li> - <%= link_to player.name, player %> + <%= link_to player.name, edit_player_path(player) %> </li> <% end %> </ul> |