layout :except

I have a controller that has a layout for the view, but I don't want it
to use the layout for two actions - "exportflagged" and "fullreport". I
tried to use:

layout 'standard', :except => :fullreport, :except => :exportflagged

but "fullreport" still has the layout! Is there a proper way to do this?

Thank you,
- Jeff Miller

:except takes an array, just as it does for before_filter and after_filter.


layout “standard”, :except => [:fullreport, :exportflagged]

Thank you, sir, that worked!