diff options
Diffstat (limited to 'app/views/leagues/index.html.erb')
-rw-r--r-- | app/views/leagues/index.html.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/leagues/index.html.erb b/app/views/leagues/index.html.erb new file mode 100644 index 0000000..bcfa1fd --- /dev/null +++ b/app/views/leagues/index.html.erb @@ -0,0 +1,3 @@ +<% @leagues.each do |league| %> + <p><%= link_to league.name, league_path(league) %></p> +<% end %> |