From 332ec93366315fa1ed7b4acd7a3407c96e8ddfa7 Mon Sep 17 00:00:00 2001 From: sadbeast Date: Wed, 31 Jan 2024 17:47:56 -0800 Subject: initial mistake --- app/views/leagues/index.html.erb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 app/views/leagues/index.html.erb (limited to 'app/views/leagues/index.html.erb') 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| %> +

<%= link_to league.name, league_path(league) %>

+<% end %> -- cgit v1.2.3