Skip to content

Instantly share code, notes, and snippets.

@daqing
Created November 24, 2010 15:12
Show Gist options
  • Save daqing/713784 to your computer and use it in GitHub Desktop.
Save daqing/713784 to your computer and use it in GitHub Desktop.
<% items = [] %>
<% ["About", "FAQ", "Mission", "Blog", "Advertise"].each do |page| %>
<% items << %(<strong>#{link_to t(page.downcase.to_sym), '/page/#{page.downcase}', :class => :dark}</strong>) %>
<% end %>
<%=raw items.join('&nbsp; | &nbsp;') %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment