diff options
author | Kassio Borges <kassioborgesm@gmail.com> | 2014-01-26 20:05:34 -0200 |
---|---|---|
committer | Kassio Borges <kassioborgesm@gmail.com> | 2014-01-27 08:03:46 -0200 |
commit | 433628a45c2f5dd04b115af1b5579dac75255c67 (patch) | |
tree | 891bdb430900df8509d71ed67a78f5fd95c5cda5 /guides/source/configuring.md | |
parent | 3fd6329e2bda3b5e01cab90527fe5d09e21f3b9f (diff) | |
download | rails-433628a45c2f5dd04b115af1b5579dac75255c67.tar.gz rails-433628a45c2f5dd04b115af1b5579dac75255c67.tar.bz2 rails-433628a45c2f5dd04b115af1b5579dac75255c67.zip |
Rails config for raise on missing translations
Add a config to setup whether raise exception for missing translation or
not.
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r-- | guides/source/configuring.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 387778316a..38f7162fcf 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -386,6 +386,8 @@ encrypted cookies salt value. Defaults to `'signed encrypted cookie'`. The default setting is `true`, which uses the partial at `/admin/posts/_post.erb`. Setting the value to `false` would render `/posts/_post.erb`, which is the same behavior as rendering from a non-namespaced controller such as `PostsController`. +* `config.action_view.raise_on_missing_translations` determines whether an error should be raised for missing translations + ### Configuring Action Mailer There are a number of settings available on `config.action_mailer`: |