Created
December 12, 2011 21:14
-
-
Save jakeonrails/1469135 to your computer and use it in GitHub Desktop.
Author
jakeonrails
commented
Dec 12, 2011
subroot try putting ``` in front of your code sample so it gets formatted correctly
<% @categories.each do |category| %>
<% if category == @current_category %>
<ul class="current">
<% else %>
<ul class="category">
<% end %>
<li>
<h5><%= link_to category.name, category %></h5>
</li>
</ul>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment