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?
Share
Will set the default for the entire layout. To override for a specific model, just have
I believe that will work for namespaces also, so long as your layouts directory structure matches your models’ directory structure.