diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2019-02-07 13:30:58 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2019-02-08 15:13:09 -0800 |
commit | 6124eb02c63b666e640e778bf74380c3772926a0 (patch) | |
tree | 442354e5c605c63a6492efe59a1b09ec9bfa07d1 /actionview/lib/action_view/rendering.rb | |
parent | b67d5c6dedbf033515a96a95d24d085bf99a0d07 (diff) | |
download | rails-6124eb02c63b666e640e778bf74380c3772926a0.tar.gz rails-6124eb02c63b666e640e778bf74380c3772926a0.tar.bz2 rails-6124eb02c63b666e640e778bf74380c3772926a0.zip |
Split digest cache from details identity cache
This commit splits the digest cache from the "details identity" cache.
Now both caches can be managed independently.
Diffstat (limited to 'actionview/lib/action_view/rendering.rb')
-rw-r--r-- | actionview/lib/action_view/rendering.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/lib/action_view/rendering.rb b/actionview/lib/action_view/rendering.rb index cf7d1105e0..da92ce1f5e 100644 --- a/actionview/lib/action_view/rendering.rb +++ b/actionview/lib/action_view/rendering.rb @@ -87,6 +87,7 @@ module ActionView # Returns an object that is able to render templates. def view_renderer # :nodoc: + # Lifespan: Per controller @_view_renderer ||= ActionView::Renderer.new(lookup_context) end |