Skip to content

Instantly share code, notes, and snippets.

Created July 8, 2009 14:30
Show Gist options
  • Save anonymous/142881 to your computer and use it in GitHub Desktop.
Save anonymous/142881 to your computer and use it in GitHub Desktop.
<% @entries.each_with_index do |entry,index| %>
<% if index == 0 %>
<%= render :partial => "entry_big", :object => entry %>
<% else %>
<%= render :partial => "entry_small", :object => entry %>
<% end %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment