#8 Layouts and content_for

Published: March 21, 2007, 7 a.m.

If you want to change something in the layout on a per-template basis, content_for is your answer! This allows templates to specify view code that can be placed anywhere in a layout.