Skip to content

Instantly share code, notes, and snippets.

@atnan
Created December 28, 2008 03:44
Show Gist options
  • Save atnan/40363 to your computer and use it in GitHub Desktop.
Save atnan/40363 to your computer and use it in GitHub Desktop.
<ul>
<% recent_posts.each do |post| %>
<li><%= link_tag h(post.title), post_url(post) %></li>
<% end %>
</ul>
<ul>
<% recent_posts.each do |post| %>
<li><%= link_to_post(post) %></li>
<% end %>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment