X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=vendor%2Frails%2Factionpack%2Ftest%2Ffixtures%2Flayouts%2Fblock_with_layout.erb;fp=vendor%2Frails%2Factionpack%2Ftest%2Ffixtures%2Flayouts%2Fblock_with_layout.erb;h=6a8b41914bc2d01e1b46960595c76ef2142aa086;hb=d115f2e23823271635bad69229a42cd8ac68debe;hp=0000000000000000000000000000000000000000;hpb=37cb670bf3ddde90b214e591f100ed4446469484;p=depot.git diff --git a/vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb b/vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb new file mode 100644 index 0000000..6a8b419 --- /dev/null +++ b/vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb @@ -0,0 +1,3 @@ +<% render(:layout => "layout_for_partial", :locals => { :name => "Anthony" }) do %>Inside from first block in layout<% end %> +<%= yield %> +<% render(:layout => "layout_for_partial", :locals => { :name => "Ramm" }) do %>Inside from second block in layout<% end %>