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.
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