diff options
author | Ernesto Tagwerker <ernesto@etagwerker.com> | 2012-05-04 14:35:16 -0300 |
---|---|---|
committer | Ernesto Tagwerker <ernesto@etagwerker.com> | 2012-05-04 14:35:16 -0300 |
commit | c8e057198796f1052f2e3e185f0c777292e75394 (patch) | |
tree | 7f6335c9a1f0666ce59af1250cfc75b0cb89061f | |
parent | 7f536f9158588b66c0e5a6aa8772b919812f9cb9 (diff) | |
download | rails-c8e057198796f1052f2e3e185f0c777292e75394.tar.gz rails-c8e057198796f1052f2e3e185f0c777292e75394.tar.bz2 rails-c8e057198796f1052f2e3e185f0c777292e75394.zip |
Added reference to I18n.localize, as discussed here:
https://github.com/rails/rails/issues/4027
-rw-r--r-- | actionpack/lib/action_view/helpers/translation_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/translation_helper.rb b/actionpack/lib/action_view/helpers/translation_helper.rb index fd06bfa2a8..8171bea8ed 100644 --- a/actionpack/lib/action_view/helpers/translation_helper.rb +++ b/actionpack/lib/action_view/helpers/translation_helper.rb @@ -63,6 +63,9 @@ module ActionView alias :t :translate # Delegates to <tt>I18n.localize</tt> with no additional functionality. + # + # See http://rubydoc.info/github/svenfuchs/i18n/master/I18n/Backend/Base:localize + # for more information. def localize(*args) I18n.localize(*args) end |