Skip to content

Instantly share code, notes, and snippets.

@dfranciosi
Created February 18, 2014 14:36
Show Gist options
  • Save dfranciosi/9072186 to your computer and use it in GitHub Desktop.
Save dfranciosi/9072186 to your computer and use it in GitHub Desktop.
%ul{id: "nav_section", class: "nav_graph"}
- @beers.each do |beer|
%li{class: beer_class(beer.slug)}
= link_to(beer.name, birra_path(beer.slug))
= image_tag("/assets/#{Settings.beers["#{beer.slug}"].image}", border: 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment