Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [cbded53671bccccbaf7e9fdfa93ef86cb097daa3] by Nathan Weizenbaum

Revision cbded53671bccccbaf7e9fdfa93ef86cb097daa3, committed by Nathan Weizenbaum · November 6th, 2009 @ 04:08 AM

When rendering layouts with blocks, use #capture to avoid assuming that the return value is the block's content.

Signed-off-by: Yehuda Katz wycats@Yehuda-Katz.local
http://github.com/rails/rails/commit/cbded53671bccccbaf7e9fdfa93ef8...

2 changed files

  • M actionpack/lib/action_view/render/rendering.rb
  • M actionpack/test/fixtures/layouts/block_with_layout.erb