disable layouts for specific .rhtmls


Is it possible to disable the layout for a specific file? I have a file_upload.rhtml that gets it's layout from the account.rhtml layout. Inside file_upload.rhtml there is an iframe (upload.rhtml) that handles the actual uploading of the file. upload.rhtml is getting the same layout as it's parent (file_upload.rhtml) so as you can imagine this is causing an undesired affect.

So the question again: Is there a way to disable the layout for this specific file (upload.rhtml)?

Thanks for any help!

Coming back to post the solution I found.

[code=]layout 'account', :except => :login[/code]

added to my account controller fixed it.