This project is archived and is in readonly mode.

Changeset [12cf8f348b591b7bb0dc899345293a8e37ddad7c] by Michael Koziarski

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

Committed by Repository

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>