1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib/action_view/renderer
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
..
partial_renderer Ensure cache fragment digests include all templates 2020-05-26 15:52:05 -04:00
abstract_renderer.rb Prefer no allocation start/end_with? over String#[] == 2020-05-29 10:20:13 +09:00
collection_renderer.rb ✂️ [ci skip] 2020-09-16 09:52:10 +09:00
object_renderer.rb Fix issue in ActionText 2020-02-27 16:54:50 -08:00
partial_renderer.rb Ensure cache fragment digests include all templates 2020-05-26 15:52:05 -04:00
renderer.rb Include layout when rendering objects from controllers 2020-10-14 11:49:45 -06:00
streaming_template_renderer.rb Call AS::Notifications.instrument directly in AV 2020-03-31 21:51:44 -07:00
template_renderer.rb Include layout when rendering objects from controllers 2020-10-14 11:49:45 -06:00