Sha256: e98db3850283f38ca0d775773caf644b7c0e87803d9f74dfc29f5a5328efeb50

Contents?: true

Size: 305 Bytes

Versions: 100

Compression:

Stored size: 305 Bytes

Contents

<%= 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 %>

Version data entries

100 entries across 50 versions & 3 rubygems

Version Path
jets-1.8.12 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.8.12 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.11 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.11 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.8.10 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.10 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.8.9 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.9 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.8.8 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.8.8 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.7 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.8.7 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.6 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.8.6 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.5 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.5 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.8.4 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb
jets-1.8.4 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.3 vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb
jets-1.8.3 vendor/rails/actionview/test/fixtures/actionpack/layouts/block_with_layout.erb