aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/localized_cache.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-01-20 14:21:27 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-20 15:02:13 +0100
commit8e2fd54b19656a6edbd94f8707927d09e167e7fc (patch)
treec000b4aa817f677d8160a13e630a2536e76264d0 /actionpack/lib/abstract_controller/localized_cache.rb
parent8b9bfbe225a59ccefa46f1e8bf301bc483bef0e0 (diff)
downloadrails-8e2fd54b19656a6edbd94f8707927d09e167e7fc.tar.gz
rails-8e2fd54b19656a6edbd94f8707927d09e167e7fc.tar.bz2
rails-8e2fd54b19656a6edbd94f8707927d09e167e7fc.zip
Bring normalize behavior to AbstractController::Rendering
Diffstat (limited to 'actionpack/lib/abstract_controller/localized_cache.rb')
-rw-r--r--actionpack/lib/abstract_controller/localized_cache.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/localized_cache.rb b/actionpack/lib/abstract_controller/localized_cache.rb
index bf648af60a..5e3efa002c 100644
--- a/actionpack/lib/abstract_controller/localized_cache.rb
+++ b/actionpack/lib/abstract_controller/localized_cache.rb
@@ -34,7 +34,7 @@ module AbstractController
end
end
- def render(options)
+ def render(*args)
Thread.current[:format_locale_key] = HashKey.get(self.class, formats, I18n.locale)
super
end