aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/leagues/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/leagues/index.html.erb')
-rw-r--r--app/views/leagues/index.html.erb3
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 %>