aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-02-25 15:06:11 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2010-02-25 15:06:11 -0800
commit66d537852b6c0357f391069c6d3b0b62c0722283 (patch)
tree9cc2bc715ed036420ec9b7f6cf2b2695dd034118 /actionpack/lib
parent2ba604950603302fd78bcefecfe043efaa8169dc (diff)
downloadrails-66d537852b6c0357f391069c6d3b0b62c0722283.tar.gz
rails-66d537852b6c0357f391069c6d3b0b62c0722283.tar.bz2
rails-66d537852b6c0357f391069c6d3b0b62c0722283.zip
Bump i18n for new public I18n.normalize_keys
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/translation_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/translation_helper.rb b/actionpack/lib/action_view/helpers/translation_helper.rb
index 7d954b3a2f..8a89ee58a0 100644
--- a/actionpack/lib/action_view/helpers/translation_helper.rb
+++ b/actionpack/lib/action_view/helpers/translation_helper.rb
@@ -15,7 +15,7 @@ module ActionView
translation = I18n.translate(scope_key_by_partial(key), options)
translation.is_a?(Array) ? translation.map { |entry| entry.html_safe } : translation.html_safe
rescue I18n::MissingTranslationData => e
- keys = I18n.send(:normalize_translation_keys, e.locale, e.key, e.options[:scope])
+ keys = I18n.normalize_keys(e.locale, e.key, e.options[:scope])
content_tag('span', keys.join(', '), :class => 'translation_missing')
end
alias :t :translate