Is it possible to do something like this:
class SimulationController < ApplicationController
layout "generic", :only => [:login, :invalid]
layout "menubar", :except => [:login, :invalid]
For some reason, my login
page still uses the menubar layout (I can tell because a menu bar will appear at the top). If I comment out the 3rd line, the menu bar will disappear. So it seems like both layouts are being applied one after another.
But if I comment out the layout "generic"
bit, I will it will be just black and white, meaning no CSS style sheet is applied.