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.
kris (Guest)
on 2006-04-21 16: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.
Johnny B (Guest)
on 2006-04-21 16:21
 render(:layout => false)
This topic is locked and can not be replied to.