diff options
Diffstat (limited to 'app/views/players/index.html.erb')
-rw-r--r-- | app/views/players/index.html.erb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/players/index.html.erb b/app/views/players/index.html.erb new file mode 100644 index 0000000..cedaad3 --- /dev/null +++ b/app/views/players/index.html.erb @@ -0,0 +1,12 @@ +<h1>Pinball Players</h1> + +<ul> + <% @players.each do |player| %> + <li> + <%= link_to player.name, player %> + </li> + <% end %> +</ul> + +<%= link_to "Add player", new_player_path %> + |