1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides
Joel Hawksley 136b814144 Include layout when rendering objects from controllers
In https://github.com/rails/rails/pull/37919, support
for rendering objects that respond_to render_in in
controllers was added. However, the implementation
did not support layouts.

This change updates the implementation from #37919
to more closely match the rest of the
ActionView::Template classes, enabling the use of layouts.

Co-authored-by: Felipe Sateler <fsateler@gmail.com>
2020-10-14 11:49:45 -06:00
..
assets Add gitattributes for vendored and generated files [ci-skip] 2020-10-04 16:44:37 -05:00
bug_report_templates Add Action Mailbox bug report templates 2020-07-15 11:04:12 -04:00
rails_guides Add copy button for copying guide code examples [skip ci] 2020-10-01 16:32:43 +02:00
source Include layout when rendering objects from controllers 2020-10-14 11:49:45 -06:00
.document
CHANGELOG.md Changes over AR Querying guide [ci skip] 2020-05-27 23:44:24 +05:30
rails_guides.rb
Rakefile Remove references to WARNINGS environment variable [ci skip] 2020-07-05 16:40:52 +01:00
w3c_validator.rb