diff options
author | Sameer Rahmani <lxsameer@gnu.org> | 2015-12-01 19:19:44 +0330 |
---|---|---|
committer | Sameer Rahmani <lxsameer@gnu.org> | 2015-12-18 22:45:05 +0330 |
commit | c1dbb13eacf0e579f351a46c9ee2ec845ae0cc2d (patch) | |
tree | c2fef94c1127e7732ed7ab87728d522960fbdad6 /actionview/test/template/url_helper_test.rb | |
parent | cd53b05be8f74dfc9c872eb1e84cd024e754f48d (diff) | |
download | rails-c1dbb13eacf0e579f351a46c9ee2ec845ae0cc2d.tar.gz rails-c1dbb13eacf0e579f351a46c9ee2ec845ae0cc2d.tar.bz2 rails-c1dbb13eacf0e579f351a46c9ee2ec845ae0cc2d.zip |
debug_missing_translation configuration added to action_view
`I18n.translate` helper will wrap the missing translation keys
in a <span> tag only if `debug_missing_translation` configuration has
a truthy value. Default value is `true`. For example in `application.rb`:
# in order to turn off missing key wrapping
config.action_view.debug_missing_translation = false
Diffstat (limited to 'actionview/test/template/url_helper_test.rb')
0 files changed, 0 insertions, 0 deletions