Skip to content

Instantly share code, notes, and snippets.

@aesmail
Created January 7, 2012 09:33
Show Gist options
  • Save aesmail/1574287 to your computer and use it in GitHub Desktop.
Save aesmail/1574287 to your computer and use it in GitHub Desktop.
<% content_for(:calendar) do %>
<%= render 'calendar' %>
<% end %>
------------
<% content_for(:calendar) { render :partial => 'calendar' } %>
------------
<% content_for(:calendar) do %>
<%= render :partial => 'calendar' %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment