How can I use an application layout in rails for all controllers except a few?

Posted by NotDan on Stack Overflow See other posts from Stack Overflow or by NotDan
Published on 2010-03-28T18:04:58Z Indexed on 2010/03/28 18:13 UTC
Read the original article Hit count: 298

Filed under:

I have an application layout in my rails app to give a default header/footer for my entire website. I have 1 controller that I dont want this to apply to (a checkout page), and an entire namespace that needs to have a separate default template (the admin interface, which has 10-15 different controllers). What is the easiest way to do this?

© Stack Overflow or respective owner

Related posts about ruby-on-rails