mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
6ad5e7ebeb
The documentation previously stated that calling `translate(".foo")` was equivalent to calling `I18n.translate("people.index.foo")` which is incorrect due to the various other functions of the `translate` view helper. This has been fixed. Additionally, a note about forcing the view helper to re-raise exceptions was added to the section detailing the handling of missing translations. Other cleanup includes: * Consistent formatting of code * Stop indenting bulleted list as a code sample * Tighten some of the language * Wrap at 80 characters. |
||
---|---|---|
.. | ||
action_view | ||
action_view.rb |