aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/test/fixtures/layouts/block_with_layout.erb
blob: 73ac833e52158a8ae62d682b11a8c407ea2171a1 (plain) (tree)
1
2
3
                                                                                                                                                                      
            
                                                                                                                            
<%= 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 %>