Skip to content

Instantly share code, notes, and snippets.

@speratus
Last active December 29, 2019 03:09
Show Gist options
  • Save speratus/1b678d5d73357f699d2ce177ecb322fe to your computer and use it in GitHub Desktop.
Save speratus/1b678d5d73357f699d2ce177ecb322fe to your computer and use it in GitHub Desktop.
The most basic starting content for the districts index page
<h1>Districts</h1>
<ul>
<% @districts.each do |district| %>
<li>
<%= link_to district.name, district_path(district) %>
</li>
<% end %>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment