Skip to content

Instantly share code, notes, and snippets.

@tpendragon
Forked from breinz/index.html.haml
Last active August 29, 2015 14:01
Show Gist options
  • Save tpendragon/60319a62969d6a9c50e3 to your computer and use it in GitHub Desktop.
Save tpendragon/60319a62969d6a9c50e3 to your computer and use it in GitHub Desktop.
[email protected]_by(&:category).each do |category, items|
%ul
-items.each do |item|
%li=item.name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment