mirror of https://github.com/rails/rails
20a83f52d7
In https://github.com/rails/rails/pull/36388, we supported passing objects that `respond_to` `render_in` to `render`, but _only_ in views. This change does the same for controllers, as Rails generally gives the expectation that `render` behaves the same in both contexts. Co-authored-by: Aaron Patterson <tenderlove@github.com> |
||
---|---|---|
.. | ||
controller | ||
test_component.rb |