Lighthouse has a new layout.
Prefer the old one? Return to the old layout,
and switch back any time from the link at the top of each page.
This project is archived and is in readonly mode.
Controller Layout Used Erroneously When Similar Named File Exists
#746
If I have a controller named "customers" and a file in my layouts directory called "customers.html.erb.bak" the framework will decide to use the controller layout instead of falling through to the application layout. If "customers.html.erb" does not exist, an error will be reported and the page will not load successfully.
These file names cause it to fail:
customers.html
customers.html.asdf
customers.html.erb.asdf
While these do not:
customers.asdf
customers
Tested on a Dreamhost server with Rails 2.0.2 and ruby 1.8.5.