Helpful Information
 
 
Category: Ruby Programming
Ruby on rails: 2 layouts per .rb page

Hi,

Is this possible

ive got layout "loggedout_layout", nly => [:login, :logout]

but I also want to do somthing like
layout "loggedin_layout", :except => [:login, :logout]

When the second one is introduced it seems to cancel out the first
request, any suggestions how to get around this?

Scott










privacy (GDPR)