Skip to content

Instantly share code, notes, and snippets.

@andyhawthorne
Created August 26, 2012 22:49
Show Gist options
  • Save andyhawthorne/3484063 to your computer and use it in GitHub Desktop.
Save andyhawthorne/3484063 to your computer and use it in GitHub Desktop.
list of posts
<ul>
<% @arr.each do |page| %>
<li><a href="/view/<%=page%>"><%=page %></a></li>
<% end %>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment