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.

Changeset [8371d6f0c1948d3201c1db1fea4b1604a238d48d] by Gaspard Bucher

Revision 8371d6f0c1948d3201c1db1fea4b1604a238d48d, committed by Gaspard Bucher · September 28th, 2009 @ 02:40 AM

Fixes a bug where layouts provided with an absolute path would not be found because they were prefixed by 'layouts'. This bug only appears if the path does not contain the word 'layouts'.

Signed-off-by: Michael Koziarski michael@koziarski.com
[#3207 state:committed] http://github.com/rails/rails/commit/8371d6f0c1948d3201c1db1fea4b16...

3 changed files

  • A actionpack/test/fixtures/layout_tests/abs_path_layout.rhtml
  • M actionpack/lib/action_controller/layout.rb
  • M actionpack/test/controller/layout_test.rb