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 [12cf8f348b591b7bb0dc899345293a8e37ddad7c] by Michael Koziarski

Revision 12cf8f348b591b7bb0dc899345293a8e37ddad7c, committed by Repository · July 3rd, 2008 @ 05:43 PM

Move template_format logic out to the request so it's alongside the 'regular' request format.

Use xhr? instead of the expensive trip through Request#accepts.

http://github.com/rails/rails/co...

3 changed files

  • M actionpack/lib/action_controller/request.rb
  • M actionpack/lib/action_view/base.rb
  • M actionpack/test/controller/new_render_test.rb