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

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

Refactor Responder to only calculate available mime types. Those are sent to the controller that knows what to do with it (render a block or call default render).

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

2 changed files

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