Created
August 27, 2012 11:02
-
-
Save andyhawthorne/3487475 to your computer and use it in GitHub Desktop.
new index.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<% @arr.each do |page| %> | |
<li><a href="/view/<%=page%>"><%=formatter(page) %></a></li> | |
<% end %> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment