Forum: Ruby on Rails Nested layouts problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cd8c9864d88bcafc164d8fdb820cc451?d=identicon&s=25 Chris (Guest)
on 2006-03-15 13:19
I have a main layout for all my application and layouts of for sub
sections of my application. Each subsection also needs the main layout.
So my question is how do you nest  layouts?
F719c6cb34bd5b691c12b373b7244b4d?d=identicon&s=25 Dorian Mcfarland (tachekent)
on 2006-03-15 19:01
(Received via mailing list)
layouts are supposed to be page frameworks(including headers and
footers) and only one can be specified per page. You need to render a
template containing the elements of the layout that change for each
page.
This topic is locked and can not be replied to.