diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-20 14:21:27 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-20 15:02:13 +0100 |
commit | 8e2fd54b19656a6edbd94f8707927d09e167e7fc (patch) | |
tree | c000b4aa817f677d8160a13e630a2536e76264d0 /actionpack/lib/abstract_controller/localized_cache.rb | |
parent | 8b9bfbe225a59ccefa46f1e8bf301bc483bef0e0 (diff) | |
download | rails-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.rb | 2 |
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 |