aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/details_cache.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/abstract_controller/details_cache.rb')
-rw-r--r--actionpack/lib/abstract_controller/details_cache.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/details_cache.rb b/actionpack/lib/abstract_controller/details_cache.rb
index 5b87b41e7d..be1a1c0f34 100644
--- a/actionpack/lib/abstract_controller/details_cache.rb
+++ b/actionpack/lib/abstract_controller/details_cache.rb
@@ -34,7 +34,7 @@ module AbstractController
end
def render_to_body(*args)
- Thread.current[:format_locale_key] = HashKey.get(self.class, _details_defaults)
+ Thread.current[:format_locale_key] = HashKey.get(self.class, details_for_render)
super
end