If you have a FooController and also have a layout app/views/layouts/foo.html, Rails will use this without being told so.
FooController
app/views/layouts/foo.html
Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.
This is super convenient except never.