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 [3e8ba616efdd453dcfdd8fba78ed35fc3c1885de] by José Valim

Revision 3e8ba616efdd453dcfdd8fba78ed35fc3c1885de, committed by José Valim · July 29th, 2009 @ 08:06 PM

Refactor even more Responder. Move mime negotiation to request and added respond_to class method.

Signed-off-by: Yehuda Katz wycats@gmail.com http://github.com/rails/rails/co...

3 changed files

  • M actionpack/lib/action_controller/base/mime_responds.rb
  • M actionpack/lib/action_dispatch/http/request.rb
  • M actionpack/test/controller/mime_responds_test.rb