|
|
Layouts and content_for
Category: Web Development > Ruby On Rails
Posted: 27 Apr 07
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.
|
|
All About Layouts
Category: Web Development > Ruby On Rails
Posted: 27 Apr 07
Everything you wanted to know about layouts: global layouts, controller layouts, shared layouts, dynamic layouts and action layouts. Yes, there really are that many ways to specify a layout.
|
|
|
|
|
|
|
|
|
|
|
|