search for: left_nav_cont

Displaying 1 result from an estimated 1 matches for "left_nav_cont".

2006 Aug 05
2
yield :layout, add extra content at controller level
Hi, Could someone point me in the right direction for specifying content at the controller level so that I could use something similar to "yield :left_nav_content" as well as "yield :layout" in my layouts? I know I can specifiy this content in my view using something like: <% content_for("left_nav_content") do %> <h1>Some Menu Options</h1> <% end %> However I would need to repeat this in each view fo...