Forum: Ruby on Rails render_component includes layout

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.
167a3b5582230623eb94e638133122ec?d=identicon&s=25 kris (Guest)
on 2006-04-21 14:17
I have dynamically generated list of links that I wish to include in
different views, I'm using render_component to do this but it is also
including the layout.
How do I turn layout off on a per action basis?

Many thanks, K.
0de83fd56f1af530034ba8efa5490b1b?d=identicon&s=25 Johnny B (Guest)
on 2006-04-21 14:21
 render(:layout => false)
This topic is locked and can not be replied to.