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.
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.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs