mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
cbded53671
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
3 lines
303 B
Text
3 lines
303 B
Text
<% render(:layout => "layout_for_partial", :locals => { :name => "Anthony" }) do %>Inside from first block in layout<% "Return value should be discarded" %><% end %>
|
|
<%= yield %>
|
|
<% render(:layout => "layout_for_partial", :locals => { :name => "Ramm" }) do %>Inside from second block in layout<% end %>
|