Render_component includes layout


#1

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.


#2

render(:layout => false)