1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/lib/controller
Prem Sichanugrist 3def1c8edb Fix override API response bug in respond_with
Default responder was only using the given respond block when user
requested for HTML format, or JSON/XML format with valid resource. This
fix the responder so that it will use the given block regardless of the
validity of the resource. Note that in this case you'll have to check
for object's validity by yourself in the controller.

Fixes #4796
2012-02-03 14:15:51 -05:00
..
fake_controllers.rb Make recognize try to constantize controller to see if it exists 2009-12-01 22:22:48 -06:00
fake_models.rb Fix override API response bug in respond_with 2012-02-03 14:15:51 -05:00