diff options
author | José Valim <jose.valim@gmail.com> | 2010-02-24 22:06:24 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-24 22:17:26 +0100 |
commit | df85ab41c1ff6992dd462a0e63dac9dcdcee0348 (patch) | |
tree | 108c69a8d0b238d055367b397c8945a06ea1bd2a /actionpack/lib/action_view/base.rb | |
parent | 9d7d6cd7baf9b9e552a2ece8fca7f381417d06c1 (diff) | |
download | rails-df85ab41c1ff6992dd462a0e63dac9dcdcee0348.tar.gz rails-df85ab41c1ff6992dd462a0e63dac9dcdcee0348.tar.bz2 rails-df85ab41c1ff6992dd462a0e63dac9dcdcee0348.zip |
Renamed LocalizedCache to DetailsCache.
Diffstat (limited to 'actionpack/lib/action_view/base.rb')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index 44e5870131..a61017ae11 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -196,7 +196,7 @@ module ActionView #:nodoc: # This is expensive, but we need to reset this when the format is updated, # which currently only happens Thread.current[:format_locale_key] = - AbstractController::HashKey.get(self.class, formats, I18n.locale) + AbstractController::HashKey.get(self.class, :formats => formats, :locale => [I18n.locale]) end end |