Skip to content

Instantly share code, notes, and snippets.

@dnch
Forked from nfelsen/gist:5197
Created August 13, 2008 15:21
Show Gist options
  • Save dnch/5241 to your computer and use it in GitHub Desktop.
Save dnch/5241 to your computer and use it in GitHub Desktop.
<% @sections.each do |section| %>
<h2><%= section_name(section) %></h2>
<% section.topics.each do |topic| %>
<%= topic.name %><br>
<% end %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment