aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/buffers.rb
diff options
context:
space:
mode:
authorDerek Prior <derekprior@gmail.com>2015-04-24 11:35:21 -0400
committerDerek Prior <derekprior@gmail.com>2015-04-24 11:45:35 -0400
commit6ad5e7ebeb9e670eed96381800f23c4d0c8594bd (patch)
tree609cc7020864820044a71cf58adbbf114c29b515 /actionview/lib/action_view/buffers.rb
parent55d9e494e896e7b041dc7c18df197d53690642b5 (diff)
downloadrails-6ad5e7ebeb9e670eed96381800f23c4d0c8594bd.tar.gz
rails-6ad5e7ebeb9e670eed96381800f23c4d0c8594bd.tar.bz2
rails-6ad5e7ebeb9e670eed96381800f23c4d0c8594bd.zip
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.
Diffstat (limited to 'actionview/lib/action_view/buffers.rb')
0 files changed, 0 insertions, 0 deletions