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 [d4b7fa5fb6b4aee8dee90b526c08c0dd2e5e97d3] by Chris Eppstein

Revision d4b7fa5fb6b4aee8dee90b526c08c0dd2e5e97d3, committed by Chris Eppstein · November 7th, 2010 @ 08:19 PM

Correctly handle the case of an API response that returns a hash by treating a single hash argument as the resource instead of as options.

Signed-off-by: Santiago Pastorino santiago@wyeworks.com
https://github.com/rails/rails/commit/d4b7fa5fb6b4aee8dee90b526c08c...

2 changed files

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