mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
2b6d2d2037
This commit keeps a stack of lookup contexts on the ActionView::Base instance. If a format is passed to render, we instantiate a new lookup context and push it on the stack, that way any child calls to "render" will use the same format information as the parent. This also isolates "sibling" calls to render (multiple calls to render in the same template). Fixes #35222 #34138 |
||
---|---|---|
.. | ||
session | ||
templates | ||
callbacks.rb | ||
cookies.rb | ||
debug_exceptions.rb | ||
debug_locks.rb | ||
debug_view.rb | ||
exception_wrapper.rb | ||
executor.rb | ||
flash.rb | ||
host_authorization.rb | ||
public_exceptions.rb | ||
reloader.rb | ||
remote_ip.rb | ||
request_id.rb | ||
show_exceptions.rb | ||
ssl.rb | ||
stack.rb | ||
static.rb |