rails/actionview/lib
Derek Prior 6ad5e7ebeb
Correct translate helper docs [ci skip]
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.
2015-04-24 11:45:35 -04:00
..
action_view Correct translate helper docs [ci skip] 2015-04-24 11:45:35 -04:00
action_view.rb Update copyright notices to 2015 [ci skip] 2014-12-31 08:34:14 +01:00