Render_component includes layout

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.

render(:layout => false)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs