mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
3def1c8edb
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 |
||
---|---|---|
.. | ||
fake_controllers.rb | ||
fake_models.rb |