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