public
Created

list of posts

  • Download Gist
posts_list.erb
HTML+ERB
1 2 3 4 5
<ul>
<% @arr.each do |page| %>
<li><a href="/view/<%=page%>"><%=page %></a></li>
<% end %>
</ul>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.