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
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
..
abstract Unify raise_on_missing_translations for views and controllers 2020-05-20 02:42:59 +03:00
assertions
controller Include layout when rendering objects from controllers 2020-10-14 11:49:45 -06:00
dispatch Don't log backtrace for ActionDispatch::Http::MimeNegotiation::InvalidType 2020-10-07 17:30:07 +00:00
fixtures Allow rails to serve brotli encoded assets 2020-06-01 08:57:02 -07:00
journey Move Path::Pattern factories into test helper 2020-07-27 12:23:33 -04:00
lib Include layout when rendering objects from controllers 2020-10-14 11:49:45 -06:00
routing
support Move Path::Pattern factories into test helper 2020-07-27 12:23:33 -04:00
abstract_unit.rb Stop using a singleton for routes 2020-07-14 13:46:54 -04:00