Quick question - Refreshing layout

I’m trying to code a dynamic layout - menus are hidden and shown
depending on variables stored in session.
Is there a way to force Rails to re-render the layout?
Because the only other option i see is making a gajillion of different
layouts :confused:

use a render :partial or redirect_to

On Sep 25, 10:50 am, Mind M. [email protected]

Both of these, to best of my knowledge, refresh what’s inside the <%=
yield %> part of the layout. I need the exact opposite - to refresh
everything except the yield, or, if it’s not possible - a complete